Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",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.00132/0.001319, allocations: 190 kB / 7.803 MB, free: 2.488 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.59/1.59, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.001048/0.001048, allocations: 91.42 kB / 261.4 MB, free: 13.62 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.217/0.217, allocations: 43.49 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.229/0.4461, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.8036, allocations: 58.83 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/2.185, allocations: 0.6092 GB / 1.075 GB, free: 193.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/2.185, allocations: 68.97 kB / 1.075 GB, free: 193.4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.09489/2.28, allocations: 45.23 MB / 1.119 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/2.28, allocations: 12 kB / 1.119 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/2.28, allocations: 7.906 kB / 1.119 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/2.28, allocations: 174.9 kB / 1.119 GB, free: 148 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/2.28, allocations: 4 kB / 1.119 GB, free: 148 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/2.28, allocations: 3.938 kB / 1.119 GB, free: 148 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000118/2.28, allocations: 47.92 kB / 1.119 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/2.28, allocations: 57.67 kB / 1.119 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/2.28, allocations: 4 kB / 1.119 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/2.28, allocations: 4 kB / 1.119 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/2.28, allocations: 3.906 kB / 1.119 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/2.281, allocations: 350.5 kB / 1.12 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.762e-05/2.281, allocations: 49.64 kB / 1.12 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/2.281, allocations: 20.86 kB / 1.12 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/2.282, allocations: 1.005 MB / 1.121 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/2.282, allocations: 42.56 kB / 1.121 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/2.282, allocations: 0 / 1.121 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.007753/2.29, allocations: 0.9084 MB / 1.122 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/2.29, allocations: 63.41 kB / 1.122 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/2.29, allocations: 89 kB / 1.122 GB, free: 145 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/2.29, allocations: 29.7 kB / 1.122 GB, free: 145 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/2.29, allocations: 96.25 kB / 1.122 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/2.29, allocations: 43.36 kB / 1.122 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/2.29, allocations: 0 / 1.122 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.17e-05/2.29, allocations: 318.8 kB / 1.122 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/2.29, allocations: 71.92 kB / 1.122 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/2.29, allocations: 94.55 kB / 1.122 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/2.292, allocations: 239.6 kB / 1.123 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/2.292, allocations: 3.938 kB / 1.123 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001534/2.293, allocations: 361.7 kB / 1.123 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/2.293, allocations: 7.984 kB / 1.123 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/2.293, allocations: 7.906 kB / 1.123 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/2.293, allocations: 0 / 1.123 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/2.294, allocations: 59.89 kB / 1.123 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/2.294, allocations: 3.984 kB / 1.123 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/2.294, allocations: 20.06 kB / 1.123 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/2.294, allocations: 11.97 kB / 1.123 GB, free: 143.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.352e-05/2.295, allocations: 106.7 kB / 1.123 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/2.295, allocations: 11.84 kB / 1.123 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/2.297, allocations: 492.3 kB / 1.124 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/2.297, allocations: 0 / 1.124 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/2.297, allocations: 4 kB / 1.124 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/2.297, allocations: 3.984 kB / 1.124 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/2.299, allocations: 0.8318 MB / 1.124 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/2.299, allocations: 0 / 1.124 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/2.299, allocations: 47.86 kB / 1.124 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/2.299, allocations: 0 / 1.124 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/2.299, allocations: 8 kB / 1.124 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/2.299, allocations: 0 / 1.124 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.299, allocations: 3.938 kB / 1.124 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001493/2.301, allocations: 475.1 kB / 1.125 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001618/2.302, allocations: 0.8664 MB / 1.126 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/2.302, allocations: 109 kB / 1.126 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/2.302, allocations: 0 / 1.126 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/2.303, allocations: 11.98 kB / 1.126 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/2.303, allocations: 15.98 kB / 1.126 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/2.303, allocations: 7.984 kB / 1.126 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.871e-05/2.303, allocations: 79.28 kB / 1.126 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00123/2.304, allocations: 199.8 kB / 1.126 GB, free: 140.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/2.305, allocations: 0.7412 MB / 1.127 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003863/2.306, allocations: 183.9 kB / 1.127 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/2.306, allocations: 128 / 1.127 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/2.306, allocations: 103.9 kB / 1.127 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/2.306, allocations: 31.89 kB / 1.127 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/2.307, allocations: 175.5 kB / 1.127 GB, free: 139 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/2.307, allocations: 0.7506 MB / 1.128 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/2.307, allocations: 0 / 1.128 GB, free: 138.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat