Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001125/0.001125, allocations: 208.6 kB / 8.544 MB, free: 2.617 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, allocations: 225.5 MB / 234.4 MB, free: 3.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008457/0.0008456, allocations: 94.94 kB / 286.4 MB, free: 480 kB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2665/0.2665, allocations: 45.14 MB / 383.3 MB, free: 43.02 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1012/0.3677, allocations: 69.37 MB / 452.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.6118, allocations: 63.24 MB / 0.5039 GB, free: 41.39 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7078/1.32, allocations: 472.3 MB / 0.9651 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/1.32, allocations: 77.06 kB / 0.9652 GB, free: 125.8 MB / 0.5294 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.07531/1.395, allocations: 41.06 MB / 1.005 GB, free: 92.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/1.395, allocations: 8 kB / 1.005 GB, free: 92.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/1.395, allocations: 7.906 kB / 1.005 GB, free: 92.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.8e-05/1.395, allocations: 174.9 kB / 1.005 GB, free: 92.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/1.395, allocations: 7.906 kB / 1.005 GB, free: 92.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/1.395, allocations: 4 kB / 1.005 GB, free: 92.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.29e-05/1.396, allocations: 39.67 kB / 1.005 GB, free: 92.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/1.396, allocations: 57.3 kB / 1.006 GB, free: 92.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.396, allocations: 4 kB / 1.006 GB, free: 92.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/1.396, allocations: 0 / 1.006 GB, free: 92.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.396, allocations: 0 / 1.006 GB, free: 92.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/1.396, allocations: 370.2 kB / 1.006 GB, free: 91.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/1.396, allocations: 51.7 kB / 1.006 GB, free: 91.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/1.396, allocations: 16.8 kB / 1.006 GB, free: 91.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008553/1.397, allocations: 0.9954 MB / 1.007 GB, free: 90.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/1.397, allocations: 30.56 kB / 1.007 GB, free: 90.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/1.397, allocations: 0 / 1.007 GB, free: 90.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.00815/1.405, allocations: 0.9462 MB / 1.008 GB, free: 89.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.622e-05/1.405, allocations: 51.41 kB / 1.008 GB, free: 89.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/1.405, allocations: 96.8 kB / 1.008 GB, free: 89.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/1.405, allocations: 25.7 kB / 1.008 GB, free: 89.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/1.405, allocations: 88.33 kB / 1.008 GB, free: 89.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/1.405, allocations: 45.61 kB / 1.008 GB, free: 89.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/1.405, allocations: 0 / 1.008 GB, free: 89.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.728e-05/1.406, allocations: 330.5 kB / 1.009 GB, free: 89.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/1.406, allocations: 67.23 kB / 1.009 GB, free: 89.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/1.406, allocations: 91.41 kB / 1.009 GB, free: 89.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.407, allocations: 241.7 kB / 1.009 GB, free: 88.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.407, allocations: 0 / 1.009 GB, free: 88.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001738/1.409, allocations: 384.4 kB / 1.009 GB, free: 88.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.409, allocations: 8 kB / 1.009 GB, free: 88.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.409, allocations: 0 / 1.009 GB, free: 88.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.409, allocations: 0 / 1.009 GB, free: 88.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/1.41, allocations: 59.38 kB / 1.009 GB, free: 88.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.41, allocations: 7.906 kB / 1.009 GB, free: 88.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/1.41, allocations: 15.98 kB / 1.009 GB, free: 88.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/1.41, allocations: 11.98 kB / 1.009 GB, free: 88.46 MB / 0.5294 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 8.091e-05/1.41, allocations: 104.9 kB / 1.009 GB, free: 88.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/1.41, allocations: 11.91 kB / 1.009 GB, free: 88.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/1.413, allocations: 489.1 kB / 1.01 GB, free: 87.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.413, allocations: 7.984 kB / 1.01 GB, free: 87.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.413, allocations: 3.906 kB / 1.01 GB, free: 87.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.413, allocations: 4.25 kB / 1.01 GB, free: 87.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.415, allocations: 0.8474 MB / 1.011 GB, free: 87.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.415, allocations: 4 kB / 1.011 GB, free: 87.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/1.415, allocations: 47.91 kB / 1.011 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.415, allocations: 0 / 1.011 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/1.415, allocations: 7.984 kB / 1.011 GB, free: 87.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.415, allocations: 3.906 kB / 1.011 GB, free: 87.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.415, allocations: 0 / 1.011 GB, free: 87.07 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001729/1.417, allocations: 491.8 kB / 1.011 GB, free: 86.65 MB / 0.5294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001788/1.419, allocations: 0.8706 MB / 1.012 GB, free: 85.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/1.419, allocations: 100.8 kB / 1.012 GB, free: 85.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/1.419, allocations: 0 / 1.012 GB, free: 85.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/1.419, allocations: 11.98 kB / 1.012 GB, free: 85.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/1.42, allocations: 11.61 kB / 1.012 GB, free: 85.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/1.42, allocations: 11.98 kB / 1.012 GB, free: 85.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.308e-05/1.42, allocations: 78.78 kB / 1.012 GB, free: 85.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001296/1.421, allocations: 207 kB / 1.013 GB, free: 85.52 MB / 0.5294 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.0008375/1.422, allocations: 0.7417 MB / 1.013 GB, free: 84.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003529/1.422, allocations: 190.7 kB / 1.013 GB, free: 84.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.422, allocations: 0 / 1.013 GB, free: 84.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/1.422, allocations: 102.9 kB / 1.014 GB, free: 84.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/1.423, allocations: 26.22 kB / 1.014 GB, free: 84.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/1.423, allocations: 183 kB / 1.014 GB, free: 84.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/1.424, allocations: 0.7428 MB / 1.014 GB, free: 83.62 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/1.424, allocations: 4 kB / 1.014 GB, free: 83.61 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat