Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.PrescribedOutlet_dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.003973/0.003973, allocations: 180.2 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6899/0.6899, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.464/1.464, 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.001097/0.001097, allocations: 98.97 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4596/0.4608, allocations: 88.42 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.6491, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.816, allocations: 363 MB / 0.9878 GB, free: 263 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.817, allocations: 83.5 kB / 0.9879 GB, free: 263 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 5.15/6.966, allocations: 1.538 GB / 2.526 GB, free: 40.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/6.967, allocations: 12 kB / 2.526 GB, free: 40.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/6.97, allocations: 0.668 MB / 2.527 GB, free: 40.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/6.973, allocations: 1.471 MB / 2.528 GB, free: 38.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/6.973, allocations: 32 kB / 2.528 GB, free: 38.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/6.973, allocations: 64 kB / 2.528 GB, free: 38.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001496/6.975, allocations: 0.8319 MB / 2.529 GB, free: 37.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/6.976, allocations: 1.064 MB / 2.53 GB, free: 36.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/6.976, allocations: 11.44 kB / 2.53 GB, free: 36.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/6.977, allocations: 7.922 kB / 2.53 GB, free: 36.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/6.977, allocations: 28 kB / 2.53 GB, free: 36.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007903/6.984, allocations: 6.685 MB / 2.537 GB, free: 29.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/6.986, allocations: 0.8478 MB / 2.538 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/6.986, allocations: 500 kB / 2.538 GB, free: 28.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/6.988, allocations: 2.262 MB / 2.54 GB, free: 25.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007646/6.989, allocations: 0.6404 MB / 2.541 GB, free: 24.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 3.296e-06/6.989, allocations: 8 kB / 2.541 GB, free: 24.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.003562/6.992, allocations: 1.297 MB / 2.542 GB, free: 23.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/6.992, allocations: 149.2 kB / 2.542 GB, free: 23.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/6.994, allocations: 0.8984 MB / 2.543 GB, free: 22.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/6.994, allocations: 33.7 kB / 2.543 GB, free: 22.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/6.994, allocations: 457.6 kB / 2.544 GB, free: 21.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/6.994, allocations: 315.1 kB / 2.544 GB, free: 21.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/6.995, allocations: 4 kB / 2.544 GB, free: 21.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001598/6.995, allocations: 345.9 kB / 2.544 GB, free: 21.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/6.995, allocations: 410.2 kB / 2.545 GB, free: 20.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008019/6.996, allocations: 0.6678 MB / 2.545 GB, free: 20.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/6.998, allocations: 0.7035 MB / 2.546 GB, free: 19.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/6.998, allocations: 4 kB / 2.546 GB, free: 19.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003434/7.002, allocations: 1.457 MB / 2.548 GB, free: 17.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006929/7.002, allocations: 2.148 MB / 2.55 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/7.002, allocations: 6.188 kB / 2.55 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.045e-05/7.002, allocations: 15.98 kB / 2.55 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/7.004, allocations: 299.6 kB / 2.55 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/7.004, allocations: 15.94 kB / 2.55 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/7.006, allocations: 226.9 kB / 2.55 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/7.006, allocations: 59.97 kB / 2.55 GB, free: 15.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/7.006, allocations: 4 kB / 2.55 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002828/7.009, allocations: 1.266 MB / 2.551 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/7.009, allocations: 8 kB / 2.551 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/7.009, allocations: 8 kB / 2.551 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/7.01, allocations: 308.2 kB / 2.552 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/7.01, allocations: 15.92 kB / 2.552 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/7.012, allocations: 218.5 kB / 2.552 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/7.012, allocations: 59.97 kB / 2.552 GB, free: 13.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0003384/7.012, allocations: 239.2 kB / 2.552 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/7.013, allocations: 158.1 kB / 2.552 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/7.017, allocations: 2.035 MB / 2.554 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/7.017, allocations: 18.89 kB / 2.554 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/7.017, allocations: 3.906 kB / 2.554 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/7.017, allocations: 7.984 kB / 2.554 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005993/7.023, allocations: 3.114 MB / 2.558 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/7.023, allocations: 7.938 kB / 2.558 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/7.024, allocations: 243.4 kB / 2.558 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/7.024, allocations: 8 kB / 2.558 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.883e-05/7.024, allocations: 31.97 kB / 2.558 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/7.024, allocations: 4 kB / 2.558 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/7.024, allocations: 7.609 kB / 2.558 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004189/7.029, allocations: 2.596 MB / 2.56 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005781/7.034, allocations: 3.846 MB / 2.564 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/7.036, allocations: 396 kB / 2.564 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004945/7.036, allocations: 12 kB / 2.564 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/7.038, allocations: 163.7 kB / 2.565 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/7.038, allocations: 68.67 kB / 2.565 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.4326/7.471, allocations: 51.84 kB / 2.565 GB, free: 140 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001242/7.472, allocations: 0.6778 MB / 2.565 GB, free: 139.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005401/7.477, allocations: 1.14 MB / 2.567 GB, free: 139.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002212/7.48, allocations: 0.9851 MB / 2.567 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002972/7.483, allocations: 1.935 MB / 2.569 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/7.483, allocations: 0 / 2.569 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/7.484, allocations: 0.8087 MB / 2.57 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/7.486, allocations: 0.4913 MB / 2.571 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/7.492, allocations: 2.709 MB / 2.573 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/7.493, allocations: 1.503 MB / 2.575 GB, free: 138.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/7.493, allocations: 3.594 kB / 2.575 GB, free: 138.1 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)