Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.00466/0.00466, allocations: 185.5 kB / 7.459 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.7322/0.7322, allocations: 133.5 MB / 141.3 MB, free: 15.66 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.763/1.763, allocations: 221.3 MB / 395 MB, free: 10.22 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.001655/0.001655, allocations: 106.3 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4366/0.4384, allocations: 88.42 MB / 0.5529 GB, free: 88.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.6226, allocations: 82.31 MB / 0.6333 GB, free: 13.76 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.832, allocations: 395.9 MB / 1.02 GB, free: 238.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.832, allocations: 83.95 kB / 1.02 GB, free: 238.2 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 1.938/3.771, allocations: 0.5602 GB / 1.58 GB, free: 99.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/3.771, allocations: 10.97 kB / 1.58 GB, free: 99.13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/3.776, allocations: 0.6593 MB / 1.581 GB, free: 99.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/3.78, allocations: 1.794 MB / 1.583 GB, free: 98.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/3.78, allocations: 87.89 kB / 1.583 GB, free: 98.69 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/3.78, allocations: 69.31 kB / 1.583 GB, free: 98.69 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001944/3.782, allocations: 1.005 MB / 1.584 GB, free: 98.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/3.784, allocations: 1.275 MB / 1.585 GB, free: 98.42 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/3.784, allocations: 1.781 kB / 1.585 GB, free: 98.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/3.784, allocations: 7.312 kB / 1.585 GB, free: 98.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-05/3.785, allocations: 51.25 kB / 1.585 GB, free: 98.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/3.797, allocations: 7.29 MB / 1.592 GB, free: 94.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009153/3.798, allocations: 0.5204 MB / 1.593 GB, free: 94.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/3.799, allocations: 306.4 kB / 1.593 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/3.8, allocations: 1.271 MB / 1.594 GB, free: 93.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/3.8, allocations: 41.39 kB / 1.594 GB, free: 93.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 3.277e-06/3.8, allocations: 0 / 1.594 GB, free: 93.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.002211/3.802, allocations: 0.8071 MB / 1.595 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/3.802, allocations: 115.9 kB / 1.595 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/3.804, allocations: 0.9661 MB / 1.596 GB, free: 93.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/3.804, allocations: 28.88 kB / 1.596 GB, free: 92.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/3.804, allocations: 0.5268 MB / 1.597 GB, free: 92.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/3.804, allocations: 214.9 kB / 1.597 GB, free: 92.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/3.805, allocations: 0 / 1.597 GB, free: 92.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/3.805, allocations: 335.8 kB / 1.597 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/3.805, allocations: 283.9 kB / 1.597 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/3.806, allocations: 0.5609 MB / 1.598 GB, free: 91.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/3.807, allocations: 397.5 kB / 1.598 GB, free: 91.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/3.807, allocations: 0 / 1.598 GB, free: 91.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002613/3.81, allocations: 1.08 MB / 1.599 GB, free: 91.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006546/3.81, allocations: 2.456 MB / 1.602 GB, free: 89.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/3.811, allocations: 11.05 kB / 1.602 GB, free: 89.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009631/3.811, allocations: 352.7 kB / 1.602 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/3.813, allocations: 257 kB / 1.602 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/3.815, allocations: 1.108 MB / 1.603 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/3.817, allocations: 233 kB / 1.604 GB, free: 88.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/3.817, allocations: 51.31 kB / 1.604 GB, free: 88.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/3.817, allocations: 3.688 kB / 1.604 GB, free: 88.65 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/3.819, allocations: 0.9239 MB / 1.605 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/3.82, allocations: 3.938 kB / 1.605 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007941/3.82, allocations: 358.5 kB / 1.605 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/3.822, allocations: 253.2 kB / 1.605 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/3.823, allocations: 1.095 MB / 1.606 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/3.826, allocations: 194.5 kB / 1.606 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/3.826, allocations: 53.81 kB / 1.607 GB, free: 88.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003655/3.826, allocations: 132.6 kB / 1.607 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/3.826, allocations: 123.9 kB / 1.607 GB, free: 87.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/3.829, allocations: 0.9273 MB / 1.608 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/3.829, allocations: 10.12 kB / 1.608 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/3.829, allocations: 0 / 1.608 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/3.83, allocations: 0.8095 MB / 1.608 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005863/3.836, allocations: 2.863 MB / 1.611 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/3.836, allocations: 6.125 kB / 1.611 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/3.837, allocations: 165.3 kB / 1.611 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008163/3.838, allocations: 355.9 kB / 1.612 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/3.838, allocations: 17.95 kB / 1.612 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/3.841, allocations: 1.203 MB / 1.613 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/3.841, allocations: 9.188 kB / 1.613 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002232/3.843, allocations: 1.225 MB / 1.614 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002331/3.845, allocations: 1.67 MB / 1.616 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/3.846, allocations: 365 kB / 1.616 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/3.846, allocations: 7.812 kB / 1.616 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/3.848, allocations: 129.8 kB / 1.616 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/3.848, allocations: 51.19 kB / 1.616 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.48e-05/3.848, allocations: 48.31 kB / 1.616 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001173/3.849, allocations: 0.7335 MB / 1.617 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005276/3.854, allocations: 1.246 MB / 1.618 GB, free: 84.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002168/3.857, allocations: 0.8794 MB / 1.619 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002637/3.859, allocations: 1.247 MB / 1.62 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/3.859, allocations: 3.688 kB / 1.62 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/3.861, allocations: 463 kB / 1.621 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/3.864, allocations: 0.5537 MB / 1.621 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/3.87, allocations: 1.952 MB / 1.623 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/3.872, allocations: 1.377 MB / 1.625 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/3.872, allocations: 0 / 1.625 GB, free: 82.63 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)