Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.00127/0.00127, allocations: 198.6 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009572/0.0009575, allocations: 94.44 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1791/0.1791, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2071/0.3863, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.476, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9224/1.398, allocations: 0.5455 GB / 1.049 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/1.399, allocations: 83.78 kB / 1.049 GB, free: 119.6 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.1833/1.582, allocations: 107 MB / 1.154 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/1.582, allocations: 12 kB / 1.154 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/1.583, allocations: 79.64 kB / 1.154 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/1.583, allocations: 254.7 kB / 1.154 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.583, allocations: 8 kB / 1.154 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/1.583, allocations: 16 kB / 1.154 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00058/1.584, allocations: 0.579 MB / 1.155 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/1.584, allocations: 357.3 kB / 1.155 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/1.584, allocations: 3.938 kB / 1.155 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/1.584, allocations: 0 / 1.155 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.584, allocations: 8 kB / 1.155 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2023/1.786, allocations: 39.03 MB / 1.193 GB, free: 201.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1.786, allocations: 68.33 kB / 1.193 GB, free: 201.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/1.786, allocations: 26.52 kB / 1.193 GB, free: 201.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/1.803, allocations: 7.107 MB / 1.2 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/1.803, allocations: 97.56 kB / 1.2 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/1.803, allocations: 0 / 1.2 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.001395/1.804, allocations: 305.7 kB / 1.201 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.664e-05/1.804, allocations: 55.31 kB / 1.201 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.804, allocations: 200.6 kB / 1.201 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/1.805, allocations: 27.89 kB / 1.201 GB, free: 197.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/1.805, allocations: 236.9 kB / 1.201 GB, free: 197.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/1.805, allocations: 52.5 kB / 1.201 GB, free: 197.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/1.805, allocations: 0 / 1.201 GB, free: 197.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.279e-05/1.805, allocations: 331.1 kB / 1.202 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/1.805, allocations: 55.39 kB / 1.202 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/1.805, allocations: 289.8 kB / 1.202 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.806, allocations: 227.5 kB / 1.202 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.806, allocations: 3.875 kB / 1.202 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002257/1.809, allocations: 0.5703 MB / 1.203 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/1.809, allocations: 8 kB / 1.203 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.809, allocations: 15.62 kB / 1.203 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.809, allocations: 19.28 kB / 1.203 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/1.809, allocations: 147 kB / 1.203 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004268/1.81, allocations: 1.201 MB / 1.204 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/1.81, allocations: 5.75 kB / 1.204 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/1.81, allocations: 33.69 kB / 1.204 GB, free: 195.4 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.81, allocations: 127.2 kB / 1.204 GB, free: 195.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/1.811, allocations: 91.88 kB / 1.204 GB, free: 195.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/1.811, allocations: 338.4 kB / 1.205 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.811, allocations: 2.938 kB / 1.205 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.811, allocations: 0 / 1.205 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.811, allocations: 0 / 1.205 GB, free: 195.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005248/1.816, allocations: 2.506 MB / 1.207 GB, free: 194 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.816, allocations: 3.531 kB / 1.207 GB, free: 194 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/1.817, allocations: 89.23 kB / 1.207 GB, free: 194 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.817, allocations: 5.625 kB / 1.207 GB, free: 194 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.817, allocations: 3.797 kB / 1.207 GB, free: 194 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002054/1.817, allocations: 0.5925 MB / 1.208 GB, free: 193.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.817, allocations: 3.562 kB / 1.208 GB, free: 193.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007459/1.818, allocations: 467.9 kB / 1.208 GB, free: 193.2 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008506/1.819, allocations: 0.8773 MB / 1.209 GB, free: 192.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/1.819, allocations: 140.9 kB / 1.209 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/1.819, allocations: 3.938 kB / 1.209 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/1.819, allocations: 7.172 kB / 1.209 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/1.819, allocations: 13.92 kB / 1.209 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/1.819, allocations: 7.25 kB / 1.209 GB, free: 192.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001166/1.82, allocations: 172.2 kB / 1.209 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002143/1.822, allocations: 0.5379 MB / 1.21 GB, free: 192.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002004/1.824, allocations: 0.9332 MB / 1.211 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006629/1.824, allocations: 287.7 kB / 1.211 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.824, allocations: 4.656 kB / 1.211 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/1.825, allocations: 126.3 kB / 1.211 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/1.825, allocations: 31.73 kB / 1.211 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2266/2.052, allocations: 157.1 MB / 1.365 GB, free: 59.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/2.052, allocations: 0.8094 MB / 1.366 GB, free: 59.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.392e-06/2.052, allocations: 0 / 1.366 GB, free: 59.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat