Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001093/0.001093, allocations: 104.7 kB / 16.41 MB, free: 6.508 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.001039/0.001039, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8198/0.8198, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.59 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1577, allocations: 80.21 MB / 0.6603 GB, free: 10.27 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.7298/0.8875, allocations: 355.8 MB / 1.008 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.9135/1.801, allocations: 243.2 MB / 1.245 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03114/1.832, allocations: 0.5281 MB / 1.246 GB, free: 1.941 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.02424/1.857, allocations: 6.164 MB / 1.252 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.06093/1.918, allocations: 17.04 MB / 1.268 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.03838/1.956, allocations: 13.8 MB / 1.282 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.05829/2.014, allocations: 39.66 MB / 1.321 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0299/2.044, allocations: 16.48 MB / 1.337 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03976/2.084, allocations: 15.22 MB / 1.352 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02244/2.107, allocations: 11.4 MB / 1.363 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.007696/2.114, allocations: 1.695 MB / 1.364 GB, free: 256 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02394/2.138, allocations: 6.971 MB / 1.371 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.009615/2.148, allocations: 5.287 MB / 1.376 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.02238/2.17, allocations: 9.824 MB / 1.386 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0605/2.231, allocations: 28.13 MB / 1.413 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/2.231, allocations: 3.938 kB / 1.413 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.485e-06/2.231, allocations: 0 / 1.413 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001295/2.232, allocations: 4 kB / 1.413 GB, free: 15.45 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.06102/2.293, allocations: 19.48 MB / 1.433 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/2.293, allocations: 12.03 kB / 1.433 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02338/2.317, allocations: 3.544 MB / 1.436 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8418/3.159, allocations: 13.78 MB / 1.449 GB, free: 462.1 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009962/3.16, allocations: 0.814 MB / 1.45 GB, free: 461.7 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0046/3.164, allocations: 1.077 MB / 1.451 GB, free: 461.4 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04788/3.212, allocations: 12.83 MB / 1.464 GB, free: 456 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000501/3.213, allocations: 23.84 kB / 1.464 GB, free: 456 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002875/3.215, allocations: 440.7 kB / 1.464 GB, free: 455.7 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003395/3.216, allocations: 259.3 kB / 1.465 GB, free: 455.7 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03458/3.25, allocations: 11.25 MB / 1.475 GB, free: 452 MB / 0.9982 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.09064/3.341, allocations: 51.31 MB / 1.526 GB, free: 412.6 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/3.361, allocations: 8.435 MB / 1.534 GB, free: 408.3 MB / 0.9982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008439/3.369, allocations: 3.722 MB / 1.537 GB, free: 406.4 MB / 0.9982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0359/3.405, allocations: 19.91 MB / 1.557 GB, free: 387 MB / 0.9982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008119/3.413, allocations: 3.959 MB / 1.561 GB, free: 383 MB / 0.9982 GB Notification: Performance of pre-optimization done (n=602): time 8.376e-06/3.413, allocations: 0 / 1.561 GB, free: 383 MB / 0.9982 GB Notification: Performance of matching and sorting (n=602): time 0.02878/3.442, allocations: 10.56 MB / 1.571 GB, free: 372.4 MB / 0.9982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/3.442, allocations: 480.3 kB / 1.572 GB, free: 371.9 MB / 0.9982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03002/3.472, allocations: 16.17 MB / 1.587 GB, free: 355.8 MB / 0.9982 GB Notification: Performance of collectPreVariables (initialization): time 0.001902/3.474, allocations: 169.7 kB / 1.588 GB, free: 355.6 MB / 0.9982 GB Notification: Performance of collectInitialEqns (initialization): time 0.008385/3.483, allocations: 8.015 MB / 1.595 GB, free: 347.6 MB / 0.9982 GB Notification: Performance of collectInitialBindings (initialization): time 0.003608/3.486, allocations: 2.069 MB / 1.597 GB, free: 345.5 MB / 0.9982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003414/3.49, allocations: 1.884 MB / 1.599 GB, free: 343.6 MB / 0.9982 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/3.49, allocations: 301.1 kB / 1.599 GB, free: 343.3 MB / 0.9982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006972/3.497, allocations: 3.465 MB / 1.603 GB, free: 339.9 MB / 0.9982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009687/3.507, allocations: 6.534 MB / 1.609 GB, free: 332.1 MB / 0.9982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/3.524, allocations: 9.961 MB / 1.619 GB, free: 321.1 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.184e-05/3.524, allocations: 24 kB / 1.619 GB, free: 321.1 MB / 0.9982 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03046/3.555, allocations: 11.49 MB / 1.63 GB, free: 309.7 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 9.994e-05/3.555, allocations: 77.14 kB / 1.63 GB, free: 309.6 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/3.555, allocations: 88 kB / 1.63 GB, free: 309.5 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007168/3.556, allocations: 216.7 kB / 1.631 GB, free: 309.3 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009184/3.565, allocations: 2.221 MB / 1.633 GB, free: 307.1 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/3.567, allocations: 1.866 MB / 1.635 GB, free: 305.1 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01513/3.582, allocations: 1.352 MB / 1.636 GB, free: 303.7 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002415/3.585, allocations: 491.8 kB / 1.636 GB, free: 303.2 MB / 0.9982 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01642/3.601, allocations: 6.593 MB / 1.643 GB, free: 296.6 MB / 0.9982 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01168/3.613, allocations: 6.523 MB / 1.649 GB, free: 288.8 MB / 0.9982 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01931/3.632, allocations: 9.923 MB / 1.659 GB, free: 277.7 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001051/3.632, allocations: 24 kB / 1.659 GB, free: 277.7 MB / 0.9982 GB Notification: Performance of matching and sorting (n=1157) (initialization_lambda0): time 0.03025/3.663, allocations: 11.46 MB / 1.67 GB, free: 266.2 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 8.611e-05/3.663, allocations: 69.7 kB / 1.67 GB, free: 266.1 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/3.663, allocations: 88 kB / 1.67 GB, free: 266.1 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/3.663, allocations: 229.1 kB / 1.67 GB, free: 265.8 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009173/3.673, allocations: 2.211 MB / 1.673 GB, free: 263.6 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/3.675, allocations: 1.864 MB / 1.674 GB, free: 261.6 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01636/3.691, allocations: 1.097 MB / 1.675 GB, free: 260.5 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002667/3.694, allocations: 491 kB / 1.676 GB, free: 260 MB / 0.9982 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.003109/3.697, allocations: 0.7801 MB / 1.677 GB, free: 259.2 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005423/3.702, allocations: 1.466 MB / 1.678 GB, free: 257.8 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02297/3.725, allocations: 11.76 MB / 1.69 GB, free: 246 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.117e-05/3.725, allocations: 83.91 kB / 1.69 GB, free: 245.9 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/3.725, allocations: 0 / 1.69 GB, free: 245.9 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00593/3.731, allocations: 3.846 MB / 1.693 GB, free: 242 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04953/3.781, allocations: 23.31 MB / 1.716 GB, free: 218.4 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.628e-05/3.781, allocations: 21 kB / 1.716 GB, free: 218.4 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006474/3.787, allocations: 1.455 MB / 1.718 GB, free: 216.9 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005608/3.788, allocations: 120.8 kB / 1.718 GB, free: 216.8 MB / 0.9982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008996/3.789, allocations: 219.8 kB / 1.718 GB, free: 216.6 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/3.791, allocations: 1.759 MB / 1.72 GB, free: 214.7 MB / 0.9982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/3.791, allocations: 35.81 kB / 1.72 GB, free: 214.7 MB / 0.9982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02745/3.818, allocations: 14.25 MB / 1.734 GB, free: 199.8 MB / 0.9982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00972/3.828, allocations: 2.686 MB / 1.736 GB, free: 197.1 MB / 0.9982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004916/3.833, allocations: 183.7 kB / 1.736 GB, free: 196.9 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/3.844, allocations: 0.5131 MB / 1.737 GB, free: 196.4 MB / 0.9982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/3.845, allocations: 0.5624 MB / 1.738 GB, free: 195.8 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007649/3.846, allocations: 299.8 kB / 1.738 GB, free: 195.5 MB / 0.9982 GB Notification: Performance of sorting global known variables: time 0.02191/3.868, allocations: 11.2 MB / 1.749 GB, free: 184.4 MB / 0.9982 GB Notification: Performance of sort global known variables: time 3.11e-07/3.868, allocations: 4 kB / 1.749 GB, free: 184.4 MB / 0.9982 GB Notification: Performance of remove unused functions: time 0.03124/3.899, allocations: 7.287 MB / 1.756 GB, free: 177.3 MB / 0.9982 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.007479/3.907, allocations: 2.996 MB / 1.759 GB, free: 174.9 MB / 0.9982 GB Notification: Performance of simCode: created initialization part: time 0.03313/3.94, allocations: 14.26 MB / 1.773 GB, free: 160.7 MB / 0.9982 GB Notification: Performance of simCode: created event and clocks part: time 4.041e-05/3.94, allocations: 14.22 kB / 1.773 GB, free: 160.7 MB / 0.9982 GB Notification: Performance of simCode: created simulation system equations: time 0.01047/3.95, allocations: 4.905 MB / 1.778 GB, free: 155.7 MB / 0.9982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03836/3.989, allocations: 6.555 MB / 1.784 GB, free: 149.4 MB / 0.9982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06144/4.05, allocations: 29.99 MB / 1.813 GB, free: 119.1 MB / 0.9982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/4.061, allocations: 7.702 MB / 1.821 GB, free: 111.3 MB / 0.9982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005777/4.067, allocations: 1.28 MB / 1.822 GB, free: 110 MB / 0.9982 GB Notification: Performance of SimCode: time 2.264e-06/4.067, allocations: 0 / 1.822 GB, free: 110 MB / 0.9982 GB Notification: Performance of Templates: time 1.341/5.408, allocations: 325 MB / 2.139 GB, free: 252.5 MB / 0.9983 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterCalcHelperMain.o] Error 1