Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001126, allocations: 102 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001098, allocations: 192.2 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8027/0.8027, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 62.78 kB / 0.5863 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1653, allocations: 80.92 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump2.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump3.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump4.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump5.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump6.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump7.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater): time 0.7205/0.8859, allocations: 355.8 MB / 1.013 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.7975/1.683, allocations: 243.2 MB / 1.25 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02232/1.706, allocations: 0.5284 MB / 1.251 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01924/1.725, allocations: 6.163 MB / 1.257 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.05152/1.777, allocations: 17.04 MB / 1.273 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.03662/1.813, allocations: 13.79 MB / 1.287 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.05698/1.87, allocations: 39.66 MB / 1.326 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0359/1.906, allocations: 16.68 MB / 1.342 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03723/1.943, allocations: 15.21 MB / 1.357 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02104/1.965, allocations: 11.39 MB / 1.368 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.007769/1.972, allocations: 1.695 MB / 1.37 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02474/1.997, allocations: 6.968 MB / 1.376 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.009306/2.006, allocations: 5.284 MB / 1.382 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.02021/2.027, allocations: 9.807 MB / 1.391 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.05315/2.08, allocations: 28.11 MB / 1.419 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/2.08, allocations: 0 / 1.419 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.094e-06/2.08, allocations: 0 / 1.419 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001095/2.081, allocations: 0 / 1.419 GB, free: 12.77 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2700 * Number of variables: 2700 Notification: Performance of Generate backend data structure: time 0.7381/2.819, allocations: 19.46 MB / 1.438 GB, free: 447 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/2.819, allocations: 12.67 kB / 1.438 GB, free: 447 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0257/2.845, allocations: 3.54 MB / 1.441 GB, free: 446 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0383/2.883, allocations: 13.74 MB / 1.454 GB, free: 439.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/2.884, allocations: 0.8232 MB / 1.455 GB, free: 439.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004652/2.889, allocations: 1.07 MB / 1.456 GB, free: 438.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03897/2.928, allocations: 12.82 MB / 1.469 GB, free: 432.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003522/2.928, allocations: 24.12 kB / 1.469 GB, free: 432.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002424/2.931, allocations: 442 kB / 1.469 GB, free: 432 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/2.931, allocations: 261 kB / 1.47 GB, free: 432 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/2.958, allocations: 11.22 MB / 1.48 GB, free: 426.4 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08852/3.047, allocations: 51.29 MB / 1.531 GB, free: 382 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/3.065, allocations: 8.426 MB / 1.539 GB, free: 373.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008194/3.073, allocations: 3.715 MB / 1.542 GB, free: 370 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03385/3.107, allocations: 19.91 MB / 1.562 GB, free: 348.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00746/3.114, allocations: 3.956 MB / 1.566 GB, free: 344.6 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=602): time 7.644e-06/3.114, allocations: 0 / 1.566 GB, free: 344.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=602): time 0.02661/3.141, allocations: 10.55 MB / 1.576 GB, free: 334 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/3.141, allocations: 489.2 kB / 1.577 GB, free: 333.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0294/3.171, allocations: 16.12 MB / 1.592 GB, free: 317.4 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001841/3.173, allocations: 173.6 kB / 1.592 GB, free: 317.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.008125/3.181, allocations: 7.996 MB / 1.6 GB, free: 309.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.003187/3.184, allocations: 2.069 MB / 1.602 GB, free: 307.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003371/3.187, allocations: 1.884 MB / 1.604 GB, free: 305.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/3.187, allocations: 302.7 kB / 1.604 GB, free: 305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00676/3.194, allocations: 3.462 MB / 1.608 GB, free: 301.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00905/3.203, allocations: 6.539 MB / 1.614 GB, free: 293.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/3.22, allocations: 9.965 MB / 1.624 GB, free: 282.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.253e-05/3.22, allocations: 30.44 kB / 1.624 GB, free: 282.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03323/3.253, allocations: 11.48 MB / 1.635 GB, free: 271.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/3.253, allocations: 73.69 kB / 1.635 GB, free: 271.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/3.253, allocations: 88.12 kB / 1.635 GB, free: 271.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007995/3.254, allocations: 208.8 kB / 1.635 GB, free: 270.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009361/3.264, allocations: 2.231 MB / 1.638 GB, free: 268.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/3.266, allocations: 1.868 MB / 1.639 GB, free: 266.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01643/3.282, allocations: 1.348 MB / 1.641 GB, free: 265.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002389/3.285, allocations: 491.8 kB / 1.641 GB, free: 264.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01656/3.301, allocations: 6.584 MB / 1.648 GB, free: 258.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01038/3.312, allocations: 6.511 MB / 1.654 GB, free: 250.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0177/3.33, allocations: 9.936 MB / 1.664 GB, free: 239.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.894e-05/3.33, allocations: 24 kB / 1.664 GB, free: 239.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1157) (initialization_lambda0): time 0.0326/3.362, allocations: 11.45 MB / 1.675 GB, free: 227.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/3.362, allocations: 69.64 kB / 1.675 GB, free: 227.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/3.363, allocations: 88 kB / 1.675 GB, free: 227.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007119/3.363, allocations: 223.3 kB / 1.675 GB, free: 227.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009232/3.373, allocations: 2.219 MB / 1.677 GB, free: 225 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/3.375, allocations: 1.878 MB / 1.679 GB, free: 223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01584/3.391, allocations: 1.093 MB / 1.68 GB, free: 221.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002181/3.393, allocations: 495.7 kB / 1.681 GB, free: 221.4 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 395 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition4,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,HP_modSec.on_TSetControl_internal,HP_onOff_mod.on_TSetControl_internal,HP_scaling.on_TSetControl_internal,heatPump.on_TSetControl_internal,HP_modSec.on_security.y,HP_modSec.hysteresis1.y,$PRE.HP_modSec.hysteresis1.y,HP_modSec.hysteresis.y,$PRE.HP_modSec.hysteresis.y,const.count,$PRE.const.count,const.T_start,$PRE.const.T_start,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,HP_onOff_mod.on_security.y,HP_onOff_mod.hysteresis1.y,$PRE.HP_onOff_mod.hysteresis1.y,HP_onOff_mod.hysteresis.y,$PRE.HP_onOff_mod.hysteresis.y,HP_scaling.on_security.y,HP_scaling.hysteresis1.y,$PRE.HP_scaling.hysteresis1.y,HP_scaling.hysteresis.y,$PRE.HP_scaling.hysteresis.y,heatPump.on_security.y,heatPump.hysteresis1.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1146): * Single equations (assignments): 1136 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003916/3.397, allocations: 0.7799 MB / 1.682 GB, free: 220.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00634/3.403, allocations: 1.454 MB / 1.683 GB, free: 219.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02378/3.427, allocations: 11.77 MB / 1.695 GB, free: 207.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.33e-05/3.427, allocations: 83.91 kB / 1.695 GB, free: 207.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.372e-05/3.427, allocations: 11.94 kB / 1.695 GB, free: 207.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005837/3.433, allocations: 3.846 MB / 1.698 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04867/3.482, allocations: 23.29 MB / 1.721 GB, free: 179.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/3.482, allocations: 20 kB / 1.721 GB, free: 179.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006116/3.488, allocations: 1.455 MB / 1.723 GB, free: 178.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005246/3.488, allocations: 120.8 kB / 1.723 GB, free: 178.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007335/3.489, allocations: 215.9 kB / 1.723 GB, free: 178 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/3.491, allocations: 1.761 MB / 1.725 GB, free: 176.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/3.491, allocations: 39.8 kB / 1.725 GB, free: 176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02877/3.519, allocations: 14.25 MB / 1.739 GB, free: 161.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009618/3.529, allocations: 2.683 MB / 1.741 GB, free: 158.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005832/3.535, allocations: 187.6 kB / 1.741 GB, free: 158.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01213/3.547, allocations: 0.5124 MB / 1.742 GB, free: 157.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002032/3.549, allocations: 0.5585 MB / 1.742 GB, free: 157.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009761/3.55, allocations: 299.9 kB / 1.743 GB, free: 156.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.02157/3.572, allocations: 11.18 MB / 1.754 GB, free: 145.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.92e-07/3.572, allocations: 3.938 kB / 1.754 GB, free: 145.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.03231/3.604, allocations: 7.293 MB / 1.761 GB, free: 138.7 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 24 (pump.vol.dynBal.U,pump1.vol.dynBal.U,heatPump.vol1.dynBal.U,heatPump.vol2.dynBal.U,pump2.vol.dynBal.U,pump3.vol.dynBal.U,HP_scaling.vol1.dynBal.U,HP_scaling.vol2.dynBal.U,TBrine_out.T,TBrine_out_scaling.T,TWater_out.T,TWater_out_scaling.T,pump4.vol.dynBal.U,pump5.vol.dynBal.U,HP_onOff_mod.vol1.dynBal.U,HP_onOff_mod.vol2.dynBal.U,TBrine_out_onOffMod.T,TWater_out_onOffMod.T,pump6.vol.dynBal.U,pump7.vol.dynBal.U,HP_modSec.vol1.dynBal.U,HP_modSec.vol2.dynBal.U,TBrine_out_modSec.T,TWater_out_modSec.T) * Number of discrete variables: 22 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,$whenCondition4,$whenCondition3,heatPump.hysteresis.y,heatPump.hysteresis1.y,heatPump.on_security.y,HP_scaling.hysteresis.y,HP_scaling.hysteresis1.y,HP_scaling.on_security.y,HP_onOff_mod.hysteresis.y,HP_onOff_mod.hysteresis1.y,HP_onOff_mod.on_security.y,booleanPulse.y,booleanPulse.pulseStart,const.T_start,const.count,HP_modSec.hysteresis.y,HP_modSec.hysteresis1.y,HP_modSec.on_security.y) * Number of discrete states: 11 (const.count,HP_modSec.hysteresis.y,HP_modSec.hysteresis1.y,HP_onOff_mod.hysteresis.y,HP_onOff_mod.hysteresis1.y,HP_scaling.hysteresis.y,HP_scaling.hysteresis1.y,heatPump.hysteresis.y,heatPump.hysteresis1.y,sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (737): * Single equations (assignments): 689 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 42 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007163/3.611, allocations: 2.984 MB / 1.764 GB, free: 136.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02943/3.641, allocations: 14.26 MB / 1.778 GB, free: 122.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.849e-05/3.641, allocations: 14.22 kB / 1.778 GB, free: 122.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/3.651, allocations: 4.909 MB / 1.782 GB, free: 117.1 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04183/3.693, allocations: 6.542 MB / 1.789 GB, free: 110.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05404/3.747, allocations: 29.94 MB / 1.818 GB, free: 80.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01143/3.758, allocations: 7.69 MB / 1.826 GB, free: 72.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00555/3.764, allocations: 1.28 MB / 1.827 GB, free: 71.51 MB / 0.9825 GB Notification: Performance of SimCode: time 1.543e-06/3.764, allocations: 0 / 1.827 GB, free: 71.51 MB / 0.9825 GB Notification: Performance of Templates: time 1.204/4.968, allocations: 324.4 MB / 2.144 GB, free: 206.4 MB / 0.9827 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterCalcHelperMain.o] Error 1