Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 105.3 kB / 17.08 MB, free: 5.016 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.001221/0.001221, allocations: 199 kB / 18.05 MB, free: 4.336 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.387/1.387, allocations: 225.6 MB / 244.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 295.6 kB / 297.6 MB, free: 11.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.228/1.228, allocations: 180.9 MB / 0.519 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003603/0.003603, allocations: 97.5 kB / 0.7167 GB, free: 39.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1889, allocations: 94.16 MB / 0.8086 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator): time 0.8453/1.034, allocations: 310.4 MB / 1.112 GB, free: 400 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.07116/1.105, allocations: 46.79 MB / 1.157 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01424/1.12, allocations: 251.5 kB / 1.158 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01395/1.134, allocations: 4.205 MB / 1.162 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02884/1.162, allocations: 8.379 MB / 1.17 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01957/1.182, allocations: 7.079 MB / 1.177 GB, free: 6.398 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.04215/1.224, allocations: 27.53 MB / 1.204 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01552/1.24, allocations: 8.695 MB / 1.212 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.019/1.259, allocations: 8.093 MB / 1.22 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01337/1.272, allocations: 7.11 MB / 1.227 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004933/1.277, allocations: 1.273 MB / 1.228 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.016/1.293, allocations: 5.652 MB / 1.234 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.006457/1.299, allocations: 3.469 MB / 1.237 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0137/1.313, allocations: 6.182 MB / 1.243 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0405/1.354, allocations: 19.79 MB / 1.263 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.354, allocations: 0 / 1.263 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.914e-06/1.354, allocations: 0 / 1.263 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000639/1.354, allocations: 0 / 1.263 GB, free: 14.28 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.0356/1.39, allocations: 12.57 MB / 1.275 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.39, allocations: 12.03 kB / 1.275 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01481/1.405, allocations: 2.459 MB / 1.277 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0267/1.431, allocations: 10.5 MB / 1.288 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006885/1.432, allocations: 0.5406 MB / 1.288 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/1.435, allocations: 0.703 MB / 1.289 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/1.456, allocations: 8.221 MB / 1.297 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/1.457, allocations: 11.89 kB / 1.297 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009409/1.457, allocations: 296 kB / 1.297 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002476/1.458, allocations: 261.2 kB / 1.297 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/1.477, allocations: 6.984 MB / 1.304 GB, free: 3.129 MB / 0.92 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.07166/1.549, allocations: 32.47 MB / 1.336 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.559, allocations: 4.796 MB / 1.341 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004982/1.564, allocations: 2.163 MB / 1.343 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/1.593, allocations: 11.97 MB / 1.354 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005496/1.599, allocations: 2.583 MB / 1.357 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00342/1.602, allocations: 424.5 kB / 1.357 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=398): time 9.859e-06/1.602, allocations: 0 / 1.357 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=401): time 0.03912/1.641, allocations: 13.56 MB / 1.371 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003587/1.642, allocations: 0.5057 MB / 1.371 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0183/1.66, allocations: 8.625 MB / 1.379 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00134/1.661, allocations: 161.7 kB / 1.38 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.4838/2.145, allocations: 4.36 MB / 1.384 GB, free: 406.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002161/2.147, allocations: 1.371 MB / 1.385 GB, free: 406.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002825/2.15, allocations: 1.257 MB / 1.386 GB, free: 406.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/2.15, allocations: 306.7 kB / 1.387 GB, free: 406.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006491/2.156, allocations: 2.573 MB / 1.389 GB, free: 406.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008221/2.165, allocations: 3.931 MB / 1.393 GB, free: 404.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/2.178, allocations: 5.855 MB / 1.399 GB, free: 401.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-05/2.178, allocations: 7.938 kB / 1.399 GB, free: 401.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02409/2.202, allocations: 8.514 MB / 1.407 GB, free: 398.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.31e-05/2.202, allocations: 48.73 kB / 1.407 GB, free: 398.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.575e-05/2.202, allocations: 27.47 kB / 1.407 GB, free: 398.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00765/2.21, allocations: 1.318 MB / 1.409 GB, free: 398.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005436/2.215, allocations: 1.165 MB / 1.41 GB, free: 398.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/2.227, allocations: 7.616 MB / 1.417 GB, free: 392.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008955/2.236, allocations: 0.5067 MB / 1.418 GB, free: 392.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/2.237, allocations: 247.8 kB / 1.418 GB, free: 392.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009615/2.247, allocations: 4.444 MB / 1.422 GB, free: 390.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006018/2.253, allocations: 3.842 MB / 1.426 GB, free: 387.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009218/2.262, allocations: 5.705 MB / 1.431 GB, free: 384.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.159e-05/2.262, allocations: 7.094 kB / 1.431 GB, free: 384.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=772) (initialization_lambda0): time 0.02243/2.284, allocations: 8.332 MB / 1.44 GB, free: 379.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/2.284, allocations: 53.64 kB / 1.44 GB, free: 379.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.807e-05/2.284, allocations: 31.84 kB / 1.44 GB, free: 379.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/2.292, allocations: 1.311 MB / 1.441 GB, free: 378 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/2.297, allocations: 1.137 MB / 1.442 GB, free: 376.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/2.308, allocations: 7.621 MB / 1.45 GB, free: 368.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009214/2.317, allocations: 0.5358 MB / 1.45 GB, free: 368.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/2.319, allocations: 247.9 kB / 1.45 GB, free: 368.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 112 (heaPum.safCtr.opeEnv.disErr.y,$PRE.heaPum.safCtr.opeEnv.disErr.y,heaPum.safCtr.onOffCtr.onOffFuzLog.devTurOff,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.devTurOff,heaPum.safCtr.minVolFloRatSaf.disErr.y,$PRE.heaPum.safCtr.minVolFloRatSaf.disErr.y,$PRE.timTab.nextTimeEvent,$whenCondition17,heaPum.safCtr.minVolFloRatSaf.intConOne.y,heaPum.safCtr.minVolFloRatSaf.disErr.local_set,heaPum.safCtr.minVolFloRatSaf.disErr.local_reset,heaPum.safCtr.onOffCtr.cycRatBou.intConPluOne.y,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.local_set,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.local_reset,heaPum.safCtr.opeEnv.intConOne.y,heaPum.safCtr.opeEnv.disErr.local_set,heaPum.safCtr.opeEnv.disErr.local_reset,conPumAlwOn.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y,heaPum.safCtr.minVolFloRatSaf.hysEva.y,$PRE.heaPum.safCtr.minVolFloRatSaf.hysEva.y,heaPum.safCtr.minVolFloRatSaf.hysCon.y,$PRE.heaPum.safCtr.minVolFloRatSaf.hysCon.y,heaPum.safCtr.minVolFloRatSaf.booPasThr.y,heaPum.safCtr.onOffCtr.onOffFuzLog.devNorOpe,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.devNorOpe,heaPum.safCtr.onOffCtr.onOffFuzLog.devRunMin,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.devRunMin,heaPum.safCtr.onOffCtr.onOffFuzLog.staOn,heaPum.safCtr.onOffCtr.onOffFuzLog.staOff,heaPum.safCtr.onOffCtr.onOffFuzLog.turOff,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.turOff,heaPum.safCtr.onOffCtr.onOffFuzLog.turOn,$PRE.heaPum.safCtr.onOffCtr.onOffFuzLog.turOn,heaPum.safCtr.onOffCtr.andIsAblToTurOn.y,heaPum.safCtr.onOffCtr.runTimCtr.runTim.entryTime,$PRE.heaPum.safCtr.onOffCtr.runTimCtr.runTim.entryTime,heaPum.safCtr.onOffCtr.notIsOn.y,heaPum.safCtr.onOffCtr.locTimCtr.runTim.entryTime,$PRE.heaPum.safCtr.onOffCtr.locTimCtr.runTim.entryTime,heaPum.safCtr.onOffCtr.locTimCtr.y,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.y,$PRE.heaPum.safCtr.onOffCtr.cycRatBou.triAdd.y,heaPum.safCtr.onOffCtr.cycRatBou.y,heaPum.safCtr.onOffCtr.preOnOff.u,$PRE.heaPum.safCtr.onOffCtr.preOnOff.u,heaPum.safCtr.onOffCtr.isAblToTurOff.y,heaPum.safCtr.onOffCtr.ySetOn.y,$PRE.heaPum.safCtr.onOffCtr.ySetOn.y,heaPum.safCtr.opeEnv.bouMapCoo.hysBou.y,$PRE.heaPum.safCtr.opeEnv.bouMapCoo.hysBou.y,heaPum.safCtr.opeEnv.bouMapCoo.hysRig.y,$PRE.heaPum.safCtr.opeEnv.bouMapCoo.hysRig.y,heaPum.safCtr.opeEnv.bouMapCoo.hysLef.y,$PRE.heaPum.safCtr.opeEnv.bouMapCoo.hysLef.y,heaPum.safCtr.opeEnv.bouMapCoo.noErr,heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,$PRE.heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,$PRE.heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,$PRE.heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,heaPum.safCtr.opeEnv.bouMapHea.noErr,heaPum.safCtr.opeEnv.booPasThr.y,oneRooRadHeaPumCtr.cooValOrHea.y,oneRooRadHeaPumCtr.hysSecCoo.y,$PRE.oneRooRadHeaPumCtr.hysSecCoo.y,oneRooRadHeaPumCtr.swiYSet.u2,oneRooRadHeaPumCtr.hysCoo.y,$PRE.oneRooRadHeaPumCtr.hysCoo.y,oneRooRadHeaPumCtr.hysHea.y,$PRE.oneRooRadHeaPumCtr.hysHea.y,cooLoa.count,$PRE.cooLoa.count,cooLoa.T_start,$PRE.cooLoa.T_start,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition18,$whenCondition19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 672 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (3,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001548/2.32, allocations: 0.5672 MB / 1.451 GB, free: 367.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002752/2.323, allocations: 0.8772 MB / 1.452 GB, free: 366.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/2.337, allocations: 6.574 MB / 1.458 GB, free: 360.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/2.337, allocations: 47.98 kB / 1.458 GB, free: 360.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/2.337, allocations: 4 kB / 1.458 GB, free: 360.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01152/2.349, allocations: 4.702 MB / 1.463 GB, free: 355.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03024/2.379, allocations: 14.37 MB / 1.477 GB, free: 341 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/2.379, allocations: 12.05 kB / 1.477 GB, free: 341 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/2.383, allocations: 0.7255 MB / 1.478 GB, free: 340.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/2.384, allocations: 491.1 kB / 1.478 GB, free: 339.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004658/2.384, allocations: 127.9 kB / 1.478 GB, free: 339.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/2.395, allocations: 13.7 MB / 1.491 GB, free: 324.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/2.395, allocations: 19.88 kB / 1.492 GB, free: 324.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/2.414, allocations: 8.634 MB / 1.5 GB, free: 316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005163/2.419, allocations: 1.621 MB / 1.502 GB, free: 314.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002893/2.422, allocations: 136 kB / 1.502 GB, free: 314.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006736/2.429, allocations: 372.9 kB / 1.502 GB, free: 313.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000989/2.43, allocations: 410.4 kB / 1.502 GB, free: 313.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004899/2.43, allocations: 191.9 kB / 1.503 GB, free: 313.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.01094/2.441, allocations: 5.954 MB / 1.508 GB, free: 307.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/2.441, allocations: 0 / 1.508 GB, free: 307.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01715/2.459, allocations: 3.801 MB / 1.512 GB, free: 303.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 18 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,temRet.T,oneRooRadHeaPumCtr.PIDCoo.I.y,oneRooRadHeaPumCtr.PIDHea.I.y,heaPum.con.vol.dynBal.U,heaPum.con.heaCap.T,heaPum.eva.vol.dynBal.U,heaPum.eva.heaCap.T,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneEva.criDam.x[1]) * Number of discrete variables: 68 (heaPum.safCtr.opeEnv.booPasThr.y,heaPum.safCtr.opeEnv.bouMapCoo.noErr,heaPum.safCtr.opeEnv.bouMapHea.noErr,heaPum.safCtr.onOffCtr.onOffFuzLog.staOff,heaPum.safCtr.onOffCtr.onOffFuzLog.staOn,heaPum.safCtr.onOffCtr.notIsOn.y,heaPum.safCtr.minVolFloRatSaf.booPasThr.y,$cse24,$cse25,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,cooLoa.T_start,cooLoa.count,oneRooRadHeaPumCtr.hysHea.y,oneRooRadHeaPumCtr.hysCoo.y,oneRooRadHeaPumCtr.swiYSet.u2,oneRooRadHeaPumCtr.hysSecCoo.y,oneRooRadHeaPumCtr.cooValOrHea.y,heaPum.safCtr.opeEnv.disErr.y,heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,heaPum.safCtr.opeEnv.bouMapCoo.hysLef.y,heaPum.safCtr.opeEnv.bouMapCoo.hysRig.y,heaPum.safCtr.opeEnv.bouMapCoo.hysBou.y,heaPum.safCtr.onOffCtr.ySetOn.y,heaPum.safCtr.onOffCtr.isAblToTurOff.y,heaPum.safCtr.onOffCtr.preOnOff.u,heaPum.safCtr.onOffCtr.cycRatBou.y,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.y,heaPum.safCtr.onOffCtr.locTimCtr.y,heaPum.safCtr.onOffCtr.locTimCtr.runTim.entryTime,heaPum.safCtr.onOffCtr.runTimCtr.runTim.entryTime,heaPum.safCtr.onOffCtr.andIsAblToTurOn.y,heaPum.safCtr.onOffCtr.onOffFuzLog.turOn,heaPum.safCtr.onOffCtr.onOffFuzLog.turOff,heaPum.safCtr.onOffCtr.onOffFuzLog.devRunMin,heaPum.safCtr.onOffCtr.onOffFuzLog.devTurOff,heaPum.safCtr.onOffCtr.onOffFuzLog.devNorOpe,heaPum.safCtr.minVolFloRatSaf.disErr.y,heaPum.safCtr.minVolFloRatSaf.hysCon.y,heaPum.safCtr.minVolFloRatSaf.hysEva.y,heaPum.hys.y,heaPum.eff.hys.y) * Number of discrete states: 28 (timTab.nextTimeEvent,cooLoa.count,heaPum.safCtr.minVolFloRatSaf.hysEva.y,heaPum.safCtr.minVolFloRatSaf.hysCon.y,heaPum.safCtr.minVolFloRatSaf.disErr.y,heaPum.safCtr.onOffCtr.preOnOff.u,heaPum.safCtr.onOffCtr.cycRatBou.triAdd.y,heaPum.safCtr.opeEnv.bouMapCoo.hysRig.y,heaPum.safCtr.opeEnv.bouMapCoo.hysLef.y,oneRooRadHeaPumCtr.hysSecCoo.y,oneRooRadHeaPumCtr.hysCoo.y,oneRooRadHeaPumCtr.hysHea.y,heaPum.safCtr.onOffCtr.ySetOn.y,heaPum.safCtr.onOffCtr.onOffFuzLog.turOff,heaPum.safCtr.onOffCtr.onOffFuzLog.turOn,heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext,heaPum.safCtr.opeEnv.bouMapCoo.hysBou.y,heaPum.hys.y,heaPum.eff.hys.y,heaPum.safCtr.opeEnv.disErr.y,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 382 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 17 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006911/2.465, allocations: 2.114 MB / 1.514 GB, free: 302.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02889/2.494, allocations: 9.929 MB / 1.524 GB, free: 292.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.202e-05/2.494, allocations: 5.438 kB / 1.524 GB, free: 292.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007101/2.501, allocations: 3.691 MB / 1.527 GB, free: 288.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02277/2.524, allocations: 4.2 MB / 1.532 GB, free: 284.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/2.558, allocations: 17.51 MB / 1.549 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005252/2.564, allocations: 4.766 MB / 1.553 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003289/2.567, allocations: 0.7335 MB / 1.554 GB, free: 261.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.284e-06/2.567, allocations: 0 / 1.554 GB, free: 261.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.8014/3.368, allocations: 433.5 MB / 1.977 GB, free: 249.1 MB / 0.9981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.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/BuildingSystems 2.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/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorCalcHelperMain.cpp In file included from OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorCalcHelperMain.cpp:29: ./OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorInitialize.cpp:1008:87: error: use of undeclared identifier 'weaDat_P_timeSpan_' SystemDefaultImplementation::setRealStartValue(_weaDat_P_conTimMin_P_weaDatEndTim_, weaDat_P_timeSpan_(2), false); ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorInitialize.cpp:1017:87: error: use of undeclared identifier 'weaDat_P_timeSpan_' SystemDefaultImplementation::setRealStartValue(_weaDat_P_conTimMin_P_weaDatStaTim_, weaDat_P_timeSpan_(1), false); ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorInitialize.cpp:1044:84: error: use of undeclared identifier 'weaDat_P_timeSpan_' SystemDefaultImplementation::setRealStartValue(_weaDat_P_conTim_P_weaDatEndTim_, weaDat_P_timeSpan_(2), false); ^ ./OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorInitialize.cpp:1053:84: error: use of undeclared identifier 'weaDat_P_timeSpan_' SystemDefaultImplementation::setRealStartValue(_weaDat_P_conTim_P_weaDatStaTim_, weaDat_P_timeSpan_(1), false); ^ 4 errors generated. make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorCalcHelperMain.o] Error 1