Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",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.0009873/0.0009873, allocations: 175.3 kB / 8.52 MB, free: 1.852 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.158/1.158, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0009492/0.0009493, allocations: 85.48 kB / 281.2 MB, free: 5.461 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.161/0.161, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1747/0.3357, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.4257, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8112/1.237, allocations: 0.4895 GB / 0.9836 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/1.237, allocations: 67.97 kB / 0.9837 GB, free: 117.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.1027/1.34, allocations: 48.12 MB / 1.031 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/1.34, allocations: 15.88 kB / 1.031 GB, free: 69.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007711/1.348, allocations: 0.7094 MB / 1.031 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/1.348, allocations: 254.7 kB / 1.032 GB, free: 68.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.81e-05/1.348, allocations: 115.3 kB / 1.032 GB, free: 68.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/1.348, allocations: 16 kB / 1.032 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/1.349, allocations: 0.5435 MB / 1.032 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/1.35, allocations: 311.5 kB / 1.033 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.35, allocations: 3.906 kB / 1.033 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/1.35, allocations: 4 kB / 1.033 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/1.35, allocations: 8 kB / 1.033 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/1.352, allocations: 2.692 MB / 1.035 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/1.354, allocations: 122.5 kB / 1.035 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/1.354, allocations: 37 kB / 1.035 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-05/1.354, allocations: 89.11 kB / 1.035 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/1.354, allocations: 30.56 kB / 1.035 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.255e-06/1.354, allocations: 4 kB / 1.036 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.003117/1.357, allocations: 490.7 kB / 1.036 GB, free: 63.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.414e-05/1.357, allocations: 55.41 kB / 1.036 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/1.357, allocations: 193.7 kB / 1.036 GB, free: 63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/1.357, allocations: 25.7 kB / 1.036 GB, free: 62.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/1.357, allocations: 206.8 kB / 1.036 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.357, allocations: 39.48 kB / 1.036 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/1.357, allocations: 0 / 1.036 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.904e-05/1.357, allocations: 334.7 kB / 1.037 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/1.357, allocations: 60.86 kB / 1.037 GB, free: 62.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/1.357, allocations: 258 kB / 1.037 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.359, allocations: 301.8 kB / 1.037 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.359, allocations: 0 / 1.037 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00145/1.36, allocations: 0.5324 MB / 1.038 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/1.36, allocations: 4 kB / 1.038 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/1.36, allocations: 8 kB / 1.038 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.36, allocations: 20.02 kB / 1.038 GB, free: 61.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/1.361, allocations: 167.8 kB / 1.038 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002388/1.361, allocations: 0.6054 MB / 1.039 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/1.361, allocations: 8 kB / 1.039 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/1.361, allocations: 55.98 kB / 1.039 GB, free: 60.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 8.887e-05/1.361, allocations: 120.9 kB / 1.039 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/1.361, allocations: 23.72 kB / 1.039 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000933/1.362, allocations: 464.6 kB / 1.039 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/1.362, allocations: 4 kB / 1.039 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.362, allocations: 0 / 1.039 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.362, allocations: 0 / 1.039 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/1.363, allocations: 452.5 kB / 1.04 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.363, allocations: 0 / 1.04 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/1.363, allocations: 71.95 kB / 1.04 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/1.363, allocations: 4 kB / 1.04 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.363, allocations: 12.05 kB / 1.04 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001917/1.364, allocations: 0.6015 MB / 1.04 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.364, allocations: 3.938 kB / 1.04 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002267/1.364, allocations: 266.6 kB / 1.041 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003357/1.364, allocations: 0.6725 MB / 1.041 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/1.364, allocations: 112.9 kB / 1.041 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/1.364, allocations: 0 / 1.041 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/1.365, allocations: 7.984 kB / 1.041 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/1.365, allocations: 15.89 kB / 1.041 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/1.365, allocations: 31.98 kB / 1.042 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.368e-05/1.365, allocations: 140.4 kB / 1.042 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001524/1.366, allocations: 283.8 kB / 1.042 GB, free: 56.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001214/1.367, allocations: 0.7671 MB / 1.043 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004768/1.368, allocations: 228.4 kB / 1.043 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.368, allocations: 0 / 1.043 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/1.368, allocations: 83.91 kB / 1.043 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/1.369, allocations: 30.09 kB / 1.043 GB, free: 55.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06855/1.437, allocations: 22.12 MB / 1.065 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/1.438, allocations: 0.8802 MB / 1.065 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/1.438, allocations: 0 / 1.065 GB, free: 32.56 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)