Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.005243/0.005243, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7222/0.7222, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 103.5 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4823/0.4833, allocations: 88.43 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.6724, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.23/1.902, allocations: 401 MB / 1.025 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/1.903, allocations: 87.45 kB / 1.025 GB, free: 200.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.9403/2.843, allocations: 295.2 MB / 1.313 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/2.843, allocations: 7.844 kB / 1.313 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/2.845, allocations: 304.2 kB / 1.314 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/2.847, allocations: 0.8605 MB / 1.314 GB, free: 178 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/2.847, allocations: 25.53 kB / 1.314 GB, free: 178 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/2.847, allocations: 33.38 kB / 1.314 GB, free: 178 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009901/2.848, allocations: 419.3 kB / 1.315 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/2.85, allocations: 0.6237 MB / 1.315 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/2.85, allocations: 8.469 kB / 1.315 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/2.85, allocations: 1.125 kB / 1.315 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/2.85, allocations: 25.67 kB / 1.316 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/2.855, allocations: 3.999 MB / 1.319 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/2.855, allocations: 257.1 kB / 1.32 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/2.856, allocations: 117.3 kB / 1.32 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/2.856, allocations: 375.8 kB / 1.32 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/2.856, allocations: 44 kB / 1.32 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 4.498e-06/2.856, allocations: 0 / 1.32 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.001109/2.857, allocations: 374.3 kB / 1.321 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/2.857, allocations: 105.1 kB / 1.321 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/2.858, allocations: 484.6 kB / 1.321 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/2.858, allocations: 26.73 kB / 1.321 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/2.858, allocations: 334 kB / 1.321 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/2.858, allocations: 73.03 kB / 1.322 GB, free: 173 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/2.858, allocations: 0 / 1.322 GB, free: 173 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001186/2.858, allocations: 365.6 kB / 1.322 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/2.859, allocations: 113.8 kB / 1.322 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/2.859, allocations: 279.5 kB / 1.322 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/2.86, allocations: 194.6 kB / 1.322 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/2.86, allocations: 0.9688 kB / 1.322 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00126/2.861, allocations: 0.5005 MB / 1.323 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/2.861, allocations: 6.266 kB / 1.323 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/2.861, allocations: 4.062 kB / 1.323 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/2.861, allocations: 58.36 kB / 1.323 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/2.862, allocations: 133.8 kB / 1.323 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004983/2.863, allocations: 0.6343 MB / 1.324 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/2.864, allocations: 116.7 kB / 1.324 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/2.864, allocations: 24.56 kB / 1.324 GB, free: 171.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001403/2.864, allocations: 118.6 kB / 1.324 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/2.864, allocations: 56.08 kB / 1.324 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/2.865, allocations: 488.7 kB / 1.324 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/2.865, allocations: 2.312 kB / 1.324 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/2.865, allocations: 2 kB / 1.324 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009668/2.866, allocations: 0.5824 MB / 1.325 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/2.868, allocations: 1.003 MB / 1.326 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.868, allocations: 1.25 kB / 1.326 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/2.869, allocations: 87.55 kB / 1.326 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/2.869, allocations: 49.95 kB / 1.326 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/2.869, allocations: 9.016 kB / 1.326 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000491/2.87, allocations: 0.6338 MB / 1.327 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.87, allocations: 3.984 kB / 1.327 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001373/2.871, allocations: 0.6646 MB / 1.327 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001699/2.873, allocations: 1.24 MB / 1.329 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/2.873, allocations: 204.8 kB / 1.329 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/2.873, allocations: 0.75 kB / 1.329 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/2.874, allocations: 63.5 kB / 1.329 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/2.874, allocations: 12.17 kB / 1.329 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/2.874, allocations: 25.92 kB / 1.329 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000469/2.875, allocations: 370.7 kB / 1.329 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001942/2.877, allocations: 377 kB / 1.33 GB, free: 168 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/2.878, allocations: 470.2 kB / 1.33 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000741/2.879, allocations: 316.8 kB / 1.33 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/2.879, allocations: 0.6875 kB / 1.33 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/2.879, allocations: 148 kB / 1.331 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/2.88, allocations: 298.1 kB / 1.331 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/2.882, allocations: 0.8042 MB / 1.332 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/2.883, allocations: 1.027 MB / 1.333 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/2.883, allocations: 3.219 kB / 1.333 GB, free: 166.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)