Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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 trunk/package.mo): time 0.001539/0.001539, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.164/1.164, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009137/0.0009137, allocations: 95.94 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1699/0.1699, allocations: 45.15 MB / 383.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1925/0.3624, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.4439, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8664/1.31, allocations: 0.5103 GB / 1.014 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/1.311, allocations: 105.1 kB / 1.014 GB, free: 152.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.5265/1.837, allocations: 204.1 MB / 1.214 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/1.837, allocations: 7.656 kB / 1.214 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008051/1.838, allocations: 141.4 kB / 1.214 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/1.839, allocations: 0.5327 MB / 1.214 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.839, allocations: 82.16 kB / 1.214 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.03e-05/1.839, allocations: 33.12 kB / 1.214 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007671/1.84, allocations: 0.5417 MB / 1.215 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/1.841, allocations: 0.7468 MB / 1.216 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/1.841, allocations: 5.438 kB / 1.216 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/1.841, allocations: 4.375 kB / 1.216 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/1.841, allocations: 39.42 kB / 1.216 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/1.844, allocations: 4.119 MB / 1.22 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/1.845, allocations: 203 kB / 1.22 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/1.845, allocations: 130 kB / 1.22 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.065e-05/1.845, allocations: 92.44 kB / 1.22 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.845, allocations: 42.58 kB / 1.22 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/1.845, allocations: 3.031 kB / 1.22 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.004927/1.85, allocations: 1.394 MB / 1.221 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.85, allocations: 132.4 kB / 1.222 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/1.85, allocations: 461.6 kB / 1.222 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/1.851, allocations: 25.7 kB / 1.222 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/1.851, allocations: 347.3 kB / 1.222 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/1.851, allocations: 119.8 kB / 1.223 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/1.851, allocations: 0 / 1.223 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/1.851, allocations: 371.6 kB / 1.223 GB, free: 111 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/1.851, allocations: 186.4 kB / 1.223 GB, free: 111 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/1.852, allocations: 487.4 kB / 1.224 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/1.852, allocations: 317.4 kB / 1.224 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.852, allocations: 7.156 kB / 1.224 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001313/1.853, allocations: 0.8103 MB / 1.225 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.853, allocations: 3.188 kB / 1.225 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.853, allocations: 9.562 kB / 1.225 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/1.855, allocations: 272.3 kB / 1.225 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/1.855, allocations: 131.9 kB / 1.225 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009512/1.856, allocations: 0.9586 MB / 1.226 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/1.857, allocations: 32.27 kB / 1.226 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/1.857, allocations: 68.52 kB / 1.226 GB, free: 110 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.857, allocations: 136.3 kB / 1.226 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/1.857, allocations: 57.28 kB / 1.226 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/1.858, allocations: 0.7408 MB / 1.227 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.858, allocations: 6.281 kB / 1.227 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.858, allocations: 0 / 1.227 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.858, allocations: 10.45 kB / 1.227 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/1.86, allocations: 0.9853 MB / 1.228 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.86, allocations: 0 / 1.228 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.861, allocations: 187.8 kB / 1.228 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.968e-05/1.861, allocations: 23.53 kB / 1.228 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/1.861, allocations: 13.62 kB / 1.228 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.862, allocations: 2.588 MB / 1.231 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.862, allocations: 0 / 1.231 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008297/1.863, allocations: 0.6921 MB / 1.231 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001208/1.864, allocations: 1.311 MB / 1.233 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/1.865, allocations: 178.2 kB / 1.233 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.865, allocations: 5.375 kB / 1.233 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/1.865, allocations: 19.36 kB / 1.233 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/1.865, allocations: 24.73 kB / 1.233 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/1.865, allocations: 35.92 kB / 1.233 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003208/1.866, allocations: 347.2 kB / 1.233 GB, free: 106 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001725/1.867, allocations: 396.2 kB / 1.234 GB, free: 105.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001368/1.869, allocations: 1.067 MB / 1.235 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008142/1.87, allocations: 499 kB / 1.235 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.87, allocations: 0 / 1.235 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/1.871, allocations: 396.3 kB / 1.235 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/1.872, allocations: 244.9 kB / 1.236 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/1.873, allocations: 0.8887 MB / 1.237 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008647/1.874, allocations: 1.086 MB / 1.238 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/1.874, allocations: 0 / 1.238 GB, free: 104.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)