Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001493/0.001493, allocations: 189.2 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.507/1.507, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.0009935/0.0009937, allocations: 95.38 kB / 261.4 MB, free: 13.63 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.2216/0.2216, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2563/0.4779, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.8684, allocations: 58.83 MB / 476.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.512/2.381, allocations: 0.645 GB / 1.11 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/2.381, allocations: 79.45 kB / 1.111 GB, free: 111.2 MB / 0.4948 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.2081/2.589, allocations: 109.9 MB / 1.218 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/2.589, allocations: 8 kB / 1.218 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007392/2.59, allocations: 75.66 kB / 1.218 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/2.591, allocations: 250.7 kB / 1.218 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/2.591, allocations: 12 kB / 1.218 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/2.591, allocations: 16 kB / 1.218 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007385/2.592, allocations: 0.5829 MB / 1.219 GB, free: 140 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2529/2.844, allocations: 350.8 kB / 1.219 GB, free: 190.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/2.845, allocations: 1.688 kB / 1.219 GB, free: 190.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/2.845, allocations: 0 / 1.219 GB, free: 190.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/2.845, allocations: 7.906 kB / 1.219 GB, free: 190.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05013/2.895, allocations: 26.99 MB / 1.245 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/2.895, allocations: 73.73 kB / 1.246 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/2.895, allocations: 30.94 kB / 1.246 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01619/2.911, allocations: 6.485 MB / 1.252 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/2.912, allocations: 101.6 kB / 1.252 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 3.045e-06/2.912, allocations: 0 / 1.252 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.002052/2.914, allocations: 393.2 kB / 1.252 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/2.914, allocations: 51.41 kB / 1.252 GB, free: 174.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/2.914, allocations: 198.2 kB / 1.253 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/2.914, allocations: 25.7 kB / 1.253 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/2.914, allocations: 234.2 kB / 1.253 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/2.914, allocations: 56.33 kB / 1.253 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/2.914, allocations: 2.25 kB / 1.253 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001118/2.914, allocations: 335.9 kB / 1.253 GB, free: 174 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/2.914, allocations: 47.75 kB / 1.253 GB, free: 174 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/2.915, allocations: 330.6 kB / 1.254 GB, free: 173.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/2.916, allocations: 178.8 kB / 1.254 GB, free: 173.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.916, allocations: 0 / 1.254 GB, free: 173.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001641/2.917, allocations: 0.5609 MB / 1.254 GB, free: 173.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/2.917, allocations: 3.969 kB / 1.254 GB, free: 173.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/2.917, allocations: 11.88 kB / 1.254 GB, free: 173.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/2.917, allocations: 56.8 kB / 1.254 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/2.918, allocations: 96.05 kB / 1.254 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007696/2.919, allocations: 1.257 MB / 1.256 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/2.919, allocations: 13.44 kB / 1.256 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/2.919, allocations: 35.69 kB / 1.256 GB, free: 172.4 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $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: 44 * 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002226/2.919, allocations: 130.4 kB / 1.256 GB, free: 172.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/2.92, allocations: 92.66 kB / 1.256 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008013/2.92, allocations: 419.1 kB / 1.256 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/2.92, allocations: 6.844 kB / 1.256 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.92, allocations: 4 kB / 1.256 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/2.92, allocations: 0 / 1.256 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/2.926, allocations: 2.406 MB / 1.259 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/2.926, allocations: 0 / 1.259 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/2.926, allocations: 17.27 kB / 1.259 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/2.926, allocations: 61.06 kB / 1.259 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/2.926, allocations: 7.25 kB / 1.259 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008076/2.927, allocations: 1.302 MB / 1.26 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/2.927, allocations: 0 / 1.26 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009827/2.928, allocations: 0.5275 MB / 1.261 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001314/2.929, allocations: 0.9453 MB / 1.262 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/2.93, allocations: 126.2 kB / 1.262 GB, free: 169 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/2.93, allocations: 7.453 kB / 1.262 GB, free: 169 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/2.93, allocations: 12.36 kB / 1.262 GB, free: 169 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/2.93, allocations: 14.52 kB / 1.262 GB, free: 169 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/2.93, allocations: 9.812 kB / 1.262 GB, free: 169 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001763/2.93, allocations: 161 kB / 1.262 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002888/2.933, allocations: 449.2 kB / 1.262 GB, free: 168.9 MB / 0.4948 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003409/2.936, allocations: 0.8129 MB / 1.263 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008616/2.937, allocations: 294.4 kB / 1.263 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.937, allocations: 3.938 kB / 1.263 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/2.938, allocations: 160.2 kB / 1.263 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/2.938, allocations: 32.05 kB / 1.264 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2709/3.209, allocations: 176.4 MB / 1.436 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/3.21, allocations: 0.8012 MB / 1.437 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of SimCode: time 1.773e-06/3.21, allocations: 0 / 1.437 GB, free: 26.48 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat