Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.001/0.001, allocations: 179.3 kB / 8.518 MB, free: 1.82 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.143/1.143, allocations: 221.4 MB / 230.3 MB, free: 7.84 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.0009037/0.0009037, allocations: 82.75 kB / 281.2 MB, free: 5.582 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.153/0.153, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1644/0.3174, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.4073, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.966/8.373, allocations: 6.131 GB / 6.625 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/8.373, allocations: 79.78 kB / 6.625 GB, free: 69.75 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.83/9.203, allocations: 260.2 MB / 6.879 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/9.203, allocations: 13.44 kB / 6.879 GB, free: 27.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/9.204, allocations: 31.72 kB / 6.879 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/9.204, allocations: 254.2 kB / 6.879 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/9.204, allocations: 12 kB / 6.879 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/9.204, allocations: 16 kB / 6.879 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000771/9.205, allocations: 0.8634 MB / 6.88 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/9.205, allocations: 464.5 kB / 6.881 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/9.205, allocations: 4 kB / 6.881 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/9.205, allocations: 4 kB / 6.881 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/9.205, allocations: 24.64 kB / 6.881 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/9.208, allocations: 3.919 MB / 6.885 GB, free: 21.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/9.208, allocations: 102.6 kB / 6.885 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/9.208, allocations: 40.84 kB / 6.885 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/9.221, allocations: 14.83 MB / 6.899 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/9.221, allocations: 111.3 kB / 6.899 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/9.221, allocations: 0 / 6.899 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001282/9.222, allocations: 306.6 kB / 6.9 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/9.222, allocations: 55.41 kB / 6.9 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/9.222, allocations: 232 kB / 6.9 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/9.222, allocations: 25.7 kB / 6.9 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/9.222, allocations: 250.4 kB / 6.9 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/9.222, allocations: 67.09 kB / 6.9 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/9.222, allocations: 0 / 6.9 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/9.223, allocations: 334.8 kB / 6.9 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/9.223, allocations: 77.28 kB / 6.901 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/9.223, allocations: 341.2 kB / 6.901 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/9.224, allocations: 250.3 kB / 6.901 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/9.224, allocations: 4 kB / 6.901 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001596/9.225, allocations: 0.5203 MB / 6.902 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/9.225, allocations: 7.938 kB / 6.902 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/9.225, allocations: 12.88 kB / 6.902 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/9.225, allocations: 15.91 kB / 6.902 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/9.226, allocations: 175.8 kB / 6.902 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1439/9.37, allocations: 1.206 MB / 6.903 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/9.371, allocations: 13.97 kB / 6.903 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/9.371, allocations: 46.7 kB / 6.903 GB, free: 134.2 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: 42 * 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 (66): * Single equations (assignments): 64 * 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.0001448/9.371, allocations: 133 kB / 6.903 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/9.371, allocations: 32.47 kB / 6.903 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006492/9.372, allocations: 248.8 kB / 6.903 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/9.372, allocations: 3.312 kB / 6.903 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/9.372, allocations: 3.344 kB / 6.903 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/9.372, allocations: 0 / 6.903 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/9.372, allocations: 0.494 MB / 6.904 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/9.372, allocations: 3.812 kB / 6.904 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/9.373, allocations: 81.05 kB / 6.904 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/9.373, allocations: 5.656 kB / 6.904 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/9.373, allocations: 0 / 6.904 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003775/9.373, allocations: 1.197 MB / 6.905 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/9.373, allocations: 0 / 6.905 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004734/9.374, allocations: 291.8 kB / 6.905 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008299/9.374, allocations: 0.7659 MB / 6.906 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/9.375, allocations: 133.8 kB / 6.906 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/9.375, allocations: 0 / 6.906 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/9.375, allocations: 10.75 kB / 6.906 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/9.375, allocations: 17.16 kB / 6.906 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/9.375, allocations: 9.906 kB / 6.906 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001019/9.375, allocations: 157.5 kB / 6.907 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008073/9.383, allocations: 2.303 MB / 6.909 GB, free: 131.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.01037/9.394, allocations: 2.919 MB / 6.912 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007986/9.394, allocations: 284.2 kB / 6.912 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/9.394, allocations: 0 / 6.912 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/9.395, allocations: 100.8 kB / 6.912 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/9.395, allocations: 36.88 kB / 6.912 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6715/10.07, allocations: 244.2 MB / 7.15 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/10.07, allocations: 0.8255 MB / 7.151 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/10.07, allocations: 2.406 kB / 7.151 GB, free: 124.4 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1)