Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="IDEAS_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.00322/0.00322, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7052/0.7052, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.584/1.584, allocations: 221.3 MB / 395 MB, free: 10.2 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.00102/0.00102, allocations: 98.84 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4791/0.4802, allocations: 88.42 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.6814, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/2.032, allocations: 401 MB / 1.025 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/2.032, allocations: 86.83 kB / 1.025 GB, free: 200.6 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 1.067/3.099, allocations: 295.2 MB / 1.313 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/3.099, allocations: 7.875 kB / 1.313 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/3.101, allocations: 300.8 kB / 1.314 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/3.104, allocations: 0.8653 MB / 1.314 GB, free: 177 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/3.104, allocations: 22.28 kB / 1.314 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/3.104, allocations: 33.53 kB / 1.314 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/3.105, allocations: 427.4 kB / 1.315 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/3.107, allocations: 0.6255 MB / 1.315 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/3.107, allocations: 2.625 kB / 1.315 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/3.107, allocations: 5.375 kB / 1.315 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/3.107, allocations: 21.84 kB / 1.316 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006273/3.113, allocations: 4.006 MB / 1.319 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/3.114, allocations: 254.8 kB / 1.32 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/3.114, allocations: 110.5 kB / 1.32 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/3.115, allocations: 375.9 kB / 1.32 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/3.115, allocations: 40.59 kB / 1.32 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 3.947e-06/3.115, allocations: 0 / 1.32 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.00158/3.116, allocations: 372.3 kB / 1.321 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/3.116, allocations: 105.8 kB / 1.321 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/3.118, allocations: 488.6 kB / 1.321 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.152e-05/3.118, allocations: 30.23 kB / 1.321 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/3.118, allocations: 331.6 kB / 1.321 GB, free: 172 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/3.118, allocations: 73.14 kB / 1.322 GB, free: 172 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/3.118, allocations: 0 / 1.322 GB, free: 172 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001925/3.118, allocations: 358 kB / 1.322 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/3.119, allocations: 121.2 kB / 1.322 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/3.119, allocations: 272.3 kB / 1.322 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/3.12, allocations: 192.2 kB / 1.322 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/3.12, allocations: 1.062 kB / 1.322 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001422/3.121, allocations: 0.5037 MB / 1.323 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/3.121, allocations: 5.406 kB / 1.323 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/3.121, allocations: 4.062 kB / 1.323 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/3.122, allocations: 58.12 kB / 1.323 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/3.122, allocations: 139.7 kB / 1.323 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005116/3.123, allocations: 0.639 MB / 1.324 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/3.124, allocations: 110.8 kB / 1.324 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/3.124, allocations: 32.03 kB / 1.324 GB, free: 170.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.0002048/3.124, allocations: 112.9 kB / 1.324 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/3.125, allocations: 62.88 kB / 1.324 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/3.126, allocations: 480.5 kB / 1.324 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/3.126, allocations: 2.156 kB / 1.324 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/3.126, allocations: 0 / 1.324 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000889/3.127, allocations: 0.5906 MB / 1.325 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/3.129, allocations: 0.999 MB / 1.326 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/3.129, allocations: 3.938 kB / 1.326 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007/3.13, allocations: 84.47 kB / 1.326 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/3.13, allocations: 54.25 kB / 1.326 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/3.13, allocations: 9.078 kB / 1.326 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004816/3.131, allocations: 0.6294 MB / 1.327 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/3.131, allocations: 6.172 kB / 1.327 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001422/3.132, allocations: 0.6686 MB / 1.327 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001838/3.134, allocations: 1.232 MB / 1.329 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/3.134, allocations: 204.6 kB / 1.329 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/3.135, allocations: 1.188 kB / 1.329 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/3.136, allocations: 69.83 kB / 1.329 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/3.136, allocations: 13.84 kB / 1.329 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/3.136, allocations: 21.42 kB / 1.329 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006941/3.137, allocations: 373.3 kB / 1.329 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00263/3.139, allocations: 374.5 kB / 1.33 GB, free: 166.9 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.001473/3.141, allocations: 474.9 kB / 1.33 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001002/3.142, allocations: 311 kB / 1.33 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/3.142, allocations: 3.406 kB / 1.33 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/3.142, allocations: 148.3 kB / 1.331 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/3.144, allocations: 297.8 kB / 1.331 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/3.147, allocations: 0.8045 MB / 1.332 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/3.148, allocations: 1.022 MB / 1.333 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/3.148, allocations: 0 / 1.333 GB, free: 165.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)