Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 178.8 kB / 8.522 MB, free: 1.812 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.17/1.17, allocations: 221.4 MB / 230.3 MB, free: 7.754 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.0008819/0.0008819, allocations: 88.67 kB / 281.2 MB, free: 5.504 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.1638/0.1638, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1904/0.3542, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.4519, allocations: 61.9 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9471/1.399, allocations: 471.2 MB / 0.9544 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/1.399, allocations: 69.28 kB / 0.9544 GB, free: 159.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.07849/1.478, allocations: 40.97 MB / 0.9944 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.478, allocations: 11.94 kB / 0.9945 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/1.478, allocations: 7.906 kB / 0.9945 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.811e-05/1.478, allocations: 175 kB / 0.9946 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/1.478, allocations: 0 / 0.9946 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/1.478, allocations: 7.906 kB / 0.9946 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.531e-05/1.478, allocations: 43.98 kB / 0.9947 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/1.478, allocations: 69.61 kB / 0.9948 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.478, allocations: 0 / 0.9948 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/1.478, allocations: 0 / 0.9948 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.478, allocations: 4 kB / 0.9948 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/1.479, allocations: 366.3 kB / 0.9951 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/1.479, allocations: 45.7 kB / 0.9951 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/1.479, allocations: 16.86 kB / 0.9952 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009351/1.48, allocations: 1.001 MB / 0.9961 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/1.48, allocations: 38.5 kB / 0.9962 GB, free: 121 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/1.48, allocations: 0 / 0.9962 GB, free: 121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.007708/1.487, allocations: 0.9242 MB / 0.9971 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/1.487, allocations: 55.41 kB / 0.9971 GB, free: 120 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/1.488, allocations: 93 kB / 0.9972 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/1.488, allocations: 25.7 kB / 0.9972 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/1.488, allocations: 92.27 kB / 0.9973 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/1.488, allocations: 39.36 kB / 0.9974 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/1.488, allocations: 4 kB / 0.9974 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/1.488, allocations: 322.8 kB / 0.9977 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/1.488, allocations: 67.98 kB / 0.9977 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/1.488, allocations: 94.55 kB / 0.9978 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/1.489, allocations: 227.7 kB / 0.9981 GB, free: 119 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/1.489, allocations: 0 / 0.9981 GB, free: 119 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001552/1.491, allocations: 377.3 kB / 0.9984 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.491, allocations: 4 kB / 0.9984 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.491, allocations: 288 / 0.9984 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.491, allocations: 4 kB / 0.9984 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/1.492, allocations: 59.88 kB / 0.9985 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.492, allocations: 3.938 kB / 0.9985 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/1.492, allocations: 23.83 kB / 0.9985 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/1.492, allocations: 11.98 kB / 0.9985 GB, free: 118.5 MB / 0.5261 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.328e-05/1.492, allocations: 101 kB / 0.9986 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/1.492, allocations: 15.89 kB / 0.9986 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/1.494, allocations: 0.4893 MB / 0.9991 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/1.494, allocations: 0 / 0.9991 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.494, allocations: 3.938 kB / 0.9991 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.494, allocations: 7.906 kB / 0.9991 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/1.496, allocations: 0.8467 MB / 0.9999 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.496, allocations: 4 kB / 1 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/1.497, allocations: 35.97 kB / 1 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/1.497, allocations: 4 kB / 1 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/1.497, allocations: 3.984 kB / 1 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.497, allocations: 4 kB / 1 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.497, allocations: 3.906 kB / 1 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001508/1.498, allocations: 483 kB / 1 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001563/1.5, allocations: 0.8535 MB / 1.001 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/1.5, allocations: 108.9 kB / 1.001 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/1.5, allocations: 4.25 kB / 1.001 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/1.5, allocations: 8 kB / 1.001 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/1.5, allocations: 11.97 kB / 1.001 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/1.501, allocations: 8 kB / 1.001 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.188e-05/1.501, allocations: 91.27 kB / 1.002 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001196/1.502, allocations: 191.9 kB / 1.002 GB, free: 115.2 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: 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.0009181/1.503, allocations: 0.7314 MB / 1.002 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003517/1.503, allocations: 183.8 kB / 1.003 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.503, allocations: 0 / 1.003 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/1.503, allocations: 107.9 kB / 1.003 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/1.504, allocations: 31.95 kB / 1.003 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/1.504, allocations: 175.3 kB / 1.003 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/1.505, allocations: 0.7428 MB / 1.004 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/1.505, allocations: 0 / 1.004 GB, free: 113.1 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat