Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 181.9 kB / 8.521 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.4 MB / 230.3 MB, free: 7.668 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009019/0.000902, allocations: 86.38 kB / 281.2 MB, free: 5.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1601/0.1601, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1811/0.3412, allocations: 68.02 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/0.4353, allocations: 61.92 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.172/8.608, allocations: 5.757 GB / 6.251 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/8.608, allocations: 67.97 kB / 6.251 GB, free: 7.207 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 1.392/10, allocations: 401.7 MB / 6.644 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/10, allocations: 15.88 kB / 6.644 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/10, allocations: 15.89 kB / 6.644 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/10, allocations: 163.1 kB / 6.644 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/10, allocations: 0 / 6.644 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/10, allocations: 4 kB / 6.644 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001444/10, allocations: 71.88 kB / 6.644 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/10, allocations: 73.67 kB / 6.644 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/10, allocations: 4 kB / 6.644 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/10, allocations: 0 / 6.644 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/10, allocations: 0 / 6.644 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/10, allocations: 289.2 kB / 6.644 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/10, allocations: 46.58 kB / 6.644 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/10, allocations: 32.83 kB / 6.644 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003388/10, allocations: 2.582 MB / 6.647 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/10, allocations: 42.53 kB / 6.647 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/10, allocations: 0 / 6.647 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002932/10, allocations: 85.67 kB / 6.647 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.61e-05/10, allocations: 51.41 kB / 6.647 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.579e-05/10, allocations: 93 kB / 6.647 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/10, allocations: 25.7 kB / 6.647 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/10, allocations: 84.23 kB / 6.647 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/10, allocations: 35.59 kB / 6.647 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/10, allocations: 0 / 6.647 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.885e-05/10, allocations: 310.8 kB / 6.648 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/10, allocations: 24.12 kB / 6.648 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/10, allocations: 37.66 kB / 6.648 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/10, allocations: 23.98 kB / 6.648 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/10, allocations: 0 / 6.648 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/10.01, allocations: 97.52 kB / 6.648 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/10.01, allocations: 4 kB / 6.648 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/10.01, allocations: 0 / 6.648 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/10.01, allocations: 192 / 6.648 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/10.01, allocations: 16.03 kB / 6.648 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/10.01, allocations: 4 kB / 6.648 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/10.01, allocations: 3.906 kB / 6.648 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/10.01, allocations: 7.984 kB / 6.648 GB, free: 0.6289 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/10.01, allocations: 101.1 kB / 6.648 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/10.01, allocations: 3.938 kB / 6.648 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/10.01, allocations: 169.3 kB / 6.648 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001614/10.01, allocations: 117.6 kB / 6.648 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/10.01, allocations: 0 / 6.648 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/10.01, allocations: 0 / 6.648 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/10.01, allocations: 402.6 kB / 6.649 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/10.01, allocations: 0 / 6.649 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/10.01, allocations: 23.92 kB / 6.649 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/10.01, allocations: 4 kB / 6.649 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/10.01, allocations: 0 / 6.649 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/10.01, allocations: 0 / 6.649 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/10.01, allocations: 0 / 6.649 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002578/10.01, allocations: 218.2 kB / 6.649 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004127/10.01, allocations: 0.613 MB / 6.649 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/10.01, allocations: 88.94 kB / 6.65 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/10.01, allocations: 0 / 6.65 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/10.01, allocations: 4 kB / 6.65 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/10.01, allocations: 0 / 6.65 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/10.01, allocations: 7.984 kB / 6.65 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.53e-05/10.01, allocations: 75.28 kB / 6.65 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005293/10.01, allocations: 423.4 kB / 6.65 GB, free: 14.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3894/10.4, allocations: 15.8 MB / 6.665 GB, free: 141.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002156/10.4, allocations: 110.9 kB / 6.666 GB, free: 141.8 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/10.4, allocations: 0.625 kB / 6.666 GB, free: 141.8 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.265e-05/10.4, allocations: 55.7 kB / 6.666 GB, free: 141.8 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/10.4, allocations: 31.05 kB / 6.666 GB, free: 141.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/10.4, allocations: 109.7 kB / 6.666 GB, free: 141.7 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/10.4, allocations: 0.7114 MB / 6.666 GB, free: 141 MB / 0.5262 GB Notification: Performance of SimCode: time 3.4e-07/10.4, allocations: 0 / 6.666 GB, free: 141 MB / 0.5262 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1)