Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Sensors.test_density.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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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(TAeZoSysPro_testsuite.HeatTransfer.Sensors.test_density,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Sensors_test_density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Sensors.test_density,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Sensors_test_density",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.003581/0.003581, allocations: 182.1 kB / 7.46 MB, free: 2.5 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.277/1.277, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0009633/0.0009633, allocations: 97.47 kB / 261.1 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05916/0.05916, allocations: 10.87 MB / 319.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01571/0.01571, allocations: 4.15 MB / 374.1 MB, free: 79.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1123/0.1281, allocations: 57.61 MB / 431.8 MB, free: 21.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.2272, allocations: 50.76 MB / 482.5 MB, free: 2.957 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6584/0.8857, allocations: 341.5 MB / 0.8047 GB, free: 3.488 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.8859, allocations: 66.91 kB / 0.8048 GB, free: 3.457 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1877/1.074, allocations: 11.02 MB / 0.8155 GB, free: 174.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.074, allocations: 10.91 kB / 0.8155 GB, free: 174.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/1.074, allocations: 6.172 kB / 0.8155 GB, free: 174.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/1.074, allocations: 172.3 kB / 0.8157 GB, free: 174.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.074, allocations: 1.188 kB / 0.8157 GB, free: 174.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/1.074, allocations: 2.188 kB / 0.8157 GB, free: 174.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.258e-05/1.074, allocations: 9.688 kB / 0.8157 GB, free: 174.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/1.074, allocations: 65.61 kB / 0.8158 GB, free: 174 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.074, allocations: 0 / 0.8158 GB, free: 174 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/1.074, allocations: 1.25 kB / 0.8158 GB, free: 174 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.074, allocations: 1.438 kB / 0.8158 GB, free: 174 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/1.075, allocations: 0.8009 MB / 0.8166 GB, free: 173.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/1.075, allocations: 171.8 kB / 0.8167 GB, free: 173 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/1.075, allocations: 80.14 kB / 0.8168 GB, free: 172.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/1.075, allocations: 79.22 kB / 0.8169 GB, free: 172.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/1.075, allocations: 110.9 kB / 0.817 GB, free: 172.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/1.075, allocations: 4 kB / 0.817 GB, free: 172.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.397e-05/1.075, allocations: 26.92 kB / 0.817 GB, free: 172.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/1.075, allocations: 57.62 kB / 0.8171 GB, free: 172.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/1.075, allocations: 104.7 kB / 0.8172 GB, free: 172.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/1.075, allocations: 25.7 kB / 0.8172 GB, free: 172.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/1.075, allocations: 93.83 kB / 0.8173 GB, free: 172.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/1.075, allocations: 1.312 kB / 0.8173 GB, free: 172.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-06/1.075, allocations: 0 / 0.8173 GB, free: 172.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/1.075, allocations: 318.6 kB / 0.8176 GB, free: 172.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/1.075, allocations: 6.531 kB / 0.8176 GB, free: 172.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/1.075, allocations: 20.02 kB / 0.8176 GB, free: 172.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/1.075, allocations: 12.91 kB / 0.8176 GB, free: 172.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.075, allocations: 0 / 0.8176 GB, free: 172.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001896/1.076, allocations: 56.81 kB / 0.8177 GB, free: 172 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.076, allocations: 12.53 kB / 0.8177 GB, free: 172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.076, allocations: 1.219 kB / 0.8177 GB, free: 172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.076, allocations: 1.438 kB / 0.8177 GB, free: 172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/1.076, allocations: 4.188 kB / 0.8177 GB, free: 172 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/1.076, allocations: 1.312 kB / 0.8177 GB, free: 172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/1.076, allocations: 5.281 kB / 0.8177 GB, free: 172 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.076, allocations: 4.625 kB / 0.8177 GB, free: 172 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/1.076, allocations: 181.1 kB / 0.8179 GB, free: 171.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/1.076, allocations: 110 kB / 0.818 GB, free: 171.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/1.076, allocations: 110.1 kB / 0.8181 GB, free: 171.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/1.076, allocations: 179.7 kB / 0.8183 GB, free: 171.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-05/1.076, allocations: 185.1 kB / 0.8184 GB, free: 171.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/1.076, allocations: 181.4 kB / 0.8186 GB, free: 171.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/1.076, allocations: 388.8 kB / 0.819 GB, free: 170.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/1.076, allocations: 106.3 kB / 0.8191 GB, free: 170.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/1.076, allocations: 102.2 kB / 0.8192 GB, free: 170.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.877e-05/1.076, allocations: 180.3 kB / 0.8193 GB, free: 170.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/1.076, allocations: 181.5 kB / 0.8195 GB, free: 170.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-05/1.076, allocations: 184 kB / 0.8197 GB, free: 169.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.684e-05/1.076, allocations: 190 kB / 0.8199 GB, free: 169.7 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.47e-05/1.077, allocations: 300.9 kB / 0.8202 GB, free: 169.4 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000138/1.077, allocations: 0.6751 MB / 0.8208 GB, free: 168.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/1.077, allocations: 183.4 kB / 0.821 GB, free: 168.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/1.077, allocations: 181.2 kB / 0.8212 GB, free: 168.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/1.077, allocations: 109.6 kB / 0.8213 GB, free: 168.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/1.077, allocations: 177.7 kB / 0.8214 GB, free: 168 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/1.077, allocations: 101 kB / 0.8215 GB, free: 167.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.041e-05/1.077, allocations: 91.16 kB / 0.8216 GB, free: 167.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009015/1.078, allocations: 30.69 kB / 0.8217 GB, free: 167.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002726/1.078, allocations: 243.1 kB / 0.8219 GB, free: 167.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.387e-05/1.078, allocations: 5.156 kB / 0.8219 GB, free: 167.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.078, allocations: 1.188 kB / 0.8219 GB, free: 167.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/1.078, allocations: 9.156 kB / 0.8219 GB, free: 167.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/1.078, allocations: 0.5206 MB / 0.8224 GB, free: 167.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/1.079, allocations: 132.6 kB / 0.8225 GB, free: 167 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/1.079, allocations: 0.697 MB / 0.8232 GB, free: 166.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/1.079, allocations: 0 / 0.8232 GB, free: 166.3 MB / 458.7 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Sensors.test_density.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Sensors.test_density.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Sensors.test_density.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Sensors.test_density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Sensors_test_density_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Sensors_test_density.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Sensors.test_density.pipe 2>&1)