Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",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 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 188 kB / 7.805 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009547/0.0009546, allocations: 82.52 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2341/0.2341, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2638/0.4979, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.9126, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.928, allocations: 460.5 MB / 0.9151 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.928, allocations: 71.89 kB / 0.9152 GB, free: 148.6 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0602/1.989, allocations: 29.63 MB / 0.9441 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.989, allocations: 8 kB / 0.9442 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/1.99, allocations: 223.4 kB / 0.9444 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/1.991, allocations: 206.9 kB / 0.9446 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/1.991, allocations: 4 kB / 0.9446 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/1.991, allocations: 4 kB / 0.9446 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003532/1.991, allocations: 151.9 kB / 0.9447 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/1.991, allocations: 135.6 kB / 0.9448 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.991, allocations: 0 / 0.9448 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/1.992, allocations: 0 / 0.9448 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.992, allocations: 4 kB / 0.9449 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009621/1.992, allocations: 0.5464 MB / 0.9454 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/1.993, allocations: 118.5 kB / 0.9455 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/1.993, allocations: 60.84 kB / 0.9456 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.993, allocations: 4 kB / 0.9456 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/1.993, allocations: 43.14 kB / 0.9456 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.913e-06/1.993, allocations: 0 / 0.9456 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.003775/1.997, allocations: 0.8659 MB / 0.9464 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/1.997, allocations: 59.41 kB / 0.9465 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/1.997, allocations: 100.9 kB / 0.9466 GB, free: 116 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/1.997, allocations: 25.7 kB / 0.9466 GB, free: 116 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/1.997, allocations: 95.88 kB / 0.9467 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/1.997, allocations: 63.11 kB / 0.9468 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/1.997, allocations: 2.953 kB / 0.9468 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/1.997, allocations: 326.7 kB / 0.9471 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/1.997, allocations: 59.98 kB / 0.9471 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/1.997, allocations: 95.61 kB / 0.9472 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/1.997, allocations: 62.22 kB / 0.9473 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/1.997, allocations: 4 kB / 0.9473 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003542/1.998, allocations: 236.6 kB / 0.9475 GB, free: 115 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.998, allocations: 8.094 kB / 0.9475 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.998, allocations: 4 kB / 0.9475 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/1.998, allocations: 40.83 kB / 0.9476 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/1.998, allocations: 51.91 kB / 0.9476 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003972/1.999, allocations: 0.5797 MB / 0.9482 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/1.999, allocations: 7.969 kB / 0.9482 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/1.999, allocations: 28 kB / 0.9482 GB, free: 114.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.999, allocations: 118.2 kB / 0.9483 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/1.999, allocations: 7.906 kB / 0.9483 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/2, allocations: 351.2 kB / 0.9487 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/2, allocations: 4 kB / 0.9487 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/2, allocations: 3.984 kB / 0.9487 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/2, allocations: 7.906 kB / 0.9487 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/2.001, allocations: 0.5576 MB / 0.9492 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/2.001, allocations: 0 / 0.9492 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/2.001, allocations: 59.89 kB / 0.9493 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.561e-05/2.001, allocations: 20.84 kB / 0.9493 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/2.001, allocations: 12.2 kB / 0.9493 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006311/2.002, allocations: 1.213 MB / 0.9505 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/2.002, allocations: 7.875 kB / 0.9505 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004823/2.002, allocations: 439.6 kB / 0.9509 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007434/2.003, allocations: 0.9035 MB / 0.9518 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/2.003, allocations: 88.92 kB / 0.9519 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/2.003, allocations: 4 kB / 0.9519 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/2.004, allocations: 0 / 0.9519 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/2.004, allocations: 23.97 kB / 0.9519 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/2.004, allocations: 27.98 kB / 0.952 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.209e-05/2.004, allocations: 83.28 kB / 0.952 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001278/2.005, allocations: 147.9 kB / 0.9522 GB, free: 109.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009291/2.006, allocations: 0.6285 MB / 0.9528 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003882/2.006, allocations: 183.8 kB / 0.953 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/2.006, allocations: 4 kB / 0.953 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/2.007, allocations: 189.8 kB / 0.9532 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/2.007, allocations: 48.31 kB / 0.9532 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/2.008, allocations: 316.4 kB / 0.9535 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/2.008, allocations: 0.7862 MB / 0.9543 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/2.008, allocations: 4 kB / 0.9543 GB, free: 107.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)