Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001923/0.001922, allocations: 193.3 kB / 7.805 MB, free: 2.504 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.433/1.433, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009811/0.0009813, allocations: 95.53 kB / 261.4 MB, free: 13.62 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.2184/0.2184, allocations: 43.47 MB / 352.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2447/0.4631, allocations: 64.98 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.8083, allocations: 58.84 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.822, allocations: 496.8 MB / 0.9507 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/1.823, allocations: 75.91 kB / 0.9507 GB, free: 112.8 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.1312/1.954, allocations: 57.17 MB / 1.007 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.954, allocations: 8 kB / 1.007 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007544/1.961, allocations: 0.7094 MB / 1.007 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/1.962, allocations: 254.6 kB / 1.008 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.962, allocations: 119.3 kB / 1.008 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/1.962, allocations: 12 kB / 1.008 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/1.963, allocations: 0.5435 MB / 1.008 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/1.964, allocations: 315.4 kB / 1.008 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.964, allocations: 0 / 1.008 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/1.964, allocations: 4 kB / 1.008 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/1.964, allocations: 4 kB / 1.008 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/1.967, allocations: 2.566 MB / 1.011 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.968, allocations: 118.7 kB / 1.011 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/1.968, allocations: 40.86 kB / 1.011 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/1.968, allocations: 24.72 kB / 1.011 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/1.968, allocations: 34.56 kB / 1.011 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.384e-06/1.968, allocations: 0 / 1.011 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.003151/1.971, allocations: 0.4946 MB / 1.012 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/1.971, allocations: 51.41 kB / 1.012 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/1.972, allocations: 189.7 kB / 1.012 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/1.972, allocations: 25.7 kB / 1.012 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/1.972, allocations: 214.8 kB / 1.012 GB, free: 49.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/1.972, allocations: 43.45 kB / 1.012 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/1.972, allocations: 0 / 1.012 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/1.972, allocations: 326.8 kB / 1.012 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/1.972, allocations: 60.86 kB / 1.013 GB, free: 48.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/1.972, allocations: 254 kB / 1.013 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/1.973, allocations: 311.5 kB / 1.013 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.973, allocations: 4 kB / 1.013 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001549/1.975, allocations: 0.5358 MB / 1.014 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.975, allocations: 4 kB / 1.014 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.975, allocations: 8 kB / 1.014 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.975, allocations: 8 kB / 1.014 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/1.976, allocations: 172.4 kB / 1.014 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003167/1.976, allocations: 0.6132 MB / 1.014 GB, free: 46.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/1.976, allocations: 7.984 kB / 1.014 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/1.976, allocations: 55.98 kB / 1.014 GB, free: 46.68 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 0.000143/1.977, allocations: 122.2 kB / 1.015 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/1.977, allocations: 23.81 kB / 1.015 GB, free: 46.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007907/1.977, allocations: 291.9 kB / 1.015 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.977, allocations: 7.938 kB / 1.015 GB, free: 46.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.977, allocations: 0 / 1.015 GB, free: 46.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.977, allocations: 0 / 1.015 GB, free: 46.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/1.978, allocations: 456.6 kB / 1.015 GB, free: 45.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/1.978, allocations: 4.062 kB / 1.015 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/1.978, allocations: 63.91 kB / 1.015 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/1.978, allocations: 7.984 kB / 1.015 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.978, allocations: 8 kB / 1.015 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002471/1.979, allocations: 0.5976 MB / 1.016 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.979, allocations: 0 / 1.016 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002797/1.979, allocations: 272.4 kB / 1.016 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004693/1.979, allocations: 0.669 MB / 1.017 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1.98, allocations: 120.9 kB / 1.017 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/1.98, allocations: 0 / 1.017 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/1.98, allocations: 4 kB / 1.017 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/1.98, allocations: 27.83 kB / 1.017 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/1.98, allocations: 27.98 kB / 1.017 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001073/1.98, allocations: 140.4 kB / 1.017 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001853/1.982, allocations: 335.7 kB / 1.018 GB, free: 43.36 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.001985/1.984, allocations: 0.8817 MB / 1.018 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005762/1.985, allocations: 217.3 kB / 1.019 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.985, allocations: 0 / 1.019 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/1.985, allocations: 83.91 kB / 1.019 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/1.985, allocations: 24.3 kB / 1.019 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09845/2.084, allocations: 30.17 MB / 1.048 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/2.084, allocations: 0.8489 MB / 1.049 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/2.084, allocations: 0 / 1.049 GB, free: 10.94 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)