Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 114 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.935/2.935, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|temSup.T|temRet.T|heaPum.refCyc.sigBus.hea|heaPum.refCyc.sigBus.onOffMea",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|temSup.T|temRet.T|heaPum.refCyc.sigBus.hea|heaPum.refCyc.sigBus.onOffMea",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.89 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator): time 0.3951/1.5, allocations: 314.7 MB / 1.629 GB, free: 14.12 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.08222/1.582, allocations: 47.07 MB / 1.675 GB, free: 14.91 MB / 1.357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01377/1.596, allocations: 345.3 kB / 1.676 GB, free: 14.57 MB / 1.357 GB Notification: Performance of NFTyping.typeComponents: time 0.0149/1.611, allocations: 4.238 MB / 1.68 GB, free: 10.31 MB / 1.357 GB Notification: Performance of NFTyping.typeBindings: time 0.02967/1.641, allocations: 8.443 MB / 1.688 GB, free: 1.84 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02279/1.664, allocations: 8.253 MB / 1.696 GB, free: 9.621 MB / 1.373 GB Notification: Performance of NFFlatten.flatten: time 0.05299/1.717, allocations: 33.3 MB / 1.729 GB, free: 8.254 MB / 1.404 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01898/1.736, allocations: 8.907 MB / 1.737 GB, free: 15.22 MB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02309/1.759, allocations: 8.64 MB / 1.746 GB, free: 6.574 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01482/1.773, allocations: 7.26 MB / 1.753 GB, free: 15.29 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.006007/1.779, allocations: 1.344 MB / 1.754 GB, free: 13.95 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01733/1.797, allocations: 6.069 MB / 1.76 GB, free: 7.867 MB / 1.436 GB Notification: Performance of NFScalarize.scalarize: time 0.007215/1.804, allocations: 3.59 MB / 1.764 GB, free: 4.266 MB / 1.436 GB Notification: Performance of NFVerifyModel.verify: time 0.01587/1.82, allocations: 6.346 MB / 1.77 GB, free: 13.89 MB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.04055/1.86, allocations: 20.74 MB / 1.79 GB, free: 9.082 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.86, allocations: 3.984 kB / 1.79 GB, free: 9.078 MB / 1.467 GB Notification: Performance of FrontEnd: time 2.224e-06/1.86, allocations: 0 / 1.79 GB, free: 9.078 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0007171/1.861, allocations: 0 / 1.79 GB, free: 9.078 MB / 1.467 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1773 * Number of variables: 1773 Notification: Performance of Generate backend data structure: time 0.0391/1.9, allocations: 12.8 MB / 1.802 GB, free: 12.06 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.9, allocations: 12.03 kB / 1.803 GB, free: 12.05 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/1.917, allocations: 2.647 MB / 1.805 GB, free: 9.391 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02857/1.946, allocations: 10.65 MB / 1.815 GB, free: 14.65 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006941/1.947, allocations: 0.5525 MB / 1.816 GB, free: 14.09 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/1.95, allocations: 0.7186 MB / 1.817 GB, free: 13.38 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02414/1.974, allocations: 8.695 MB / 1.825 GB, free: 4.41 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/1.974, allocations: 15.89 kB / 1.825 GB, free: 4.395 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/1.976, allocations: 296 kB / 1.826 GB, free: 4.105 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/1.976, allocations: 261.5 kB / 1.826 GB, free: 3.848 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/1.998, allocations: 7.317 MB / 1.833 GB, free: 12.52 MB / 1.514 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.07337/2.071, allocations: 33.99 MB / 1.866 GB, free: 9.145 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/2.083, allocations: 5.143 MB / 1.871 GB, free: 3.934 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005978/2.089, allocations: 2.358 MB / 1.873 GB, free: 1.57 MB / 1.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8594/2.949, allocations: 12.94 MB / 1.886 GB, free: 472.9 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006738/2.956, allocations: 3.019 MB / 1.889 GB, free: 471.9 MB / 1.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00407/2.96, allocations: 428.6 kB / 1.889 GB, free: 471.9 MB / 1.545 GB Notification: Performance of pre-optimization done (n=410): time 3.134e-05/2.96, allocations: 0 / 1.889 GB, free: 471.9 MB / 1.545 GB Notification: Performance of matching and sorting (n=413): time 0.05011/3.01, allocations: 14.48 MB / 1.904 GB, free: 466 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/3.01, allocations: 0.6161 MB / 1.904 GB, free: 465.3 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02333/3.033, allocations: 8.732 MB / 1.913 GB, free: 462.3 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001528/3.035, allocations: 166.6 kB / 1.913 GB, free: 462.2 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005852/3.041, allocations: 4.417 MB / 1.917 GB, free: 458.9 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002637/3.043, allocations: 1.406 MB / 1.919 GB, free: 457.8 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003254/3.047, allocations: 1.324 MB / 1.92 GB, free: 457.2 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/3.047, allocations: 304.9 kB / 1.92 GB, free: 456.9 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0078/3.054, allocations: 3.193 MB / 1.923 GB, free: 455.8 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/3.065, allocations: 4.598 MB / 1.928 GB, free: 453.1 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/3.082, allocations: 7.027 MB / 1.935 GB, free: 449.4 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.718e-05/3.082, allocations: 8.656 kB / 1.935 GB, free: 449.4 MB / 1.545 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.03489/3.117, allocations: 9.76 MB / 1.944 GB, free: 445.8 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.076e-05/3.117, allocations: 45.06 kB / 1.944 GB, free: 445.8 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.352e-05/3.117, allocations: 29.91 kB / 1.944 GB, free: 445.8 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008712/3.126, allocations: 1.318 MB / 1.946 GB, free: 445.6 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007399/3.133, allocations: 1.242 MB / 1.947 GB, free: 445.5 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/3.147, allocations: 8.972 MB / 1.955 GB, free: 438.3 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/3.158, allocations: 0.5085 MB / 1.956 GB, free: 438.2 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/3.16, allocations: 294.9 kB / 1.956 GB, free: 438.1 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01316/3.173, allocations: 4.907 MB / 1.961 GB, free: 436.1 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00893/3.182, allocations: 4.323 MB / 1.965 GB, free: 433.5 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01318/3.195, allocations: 6.483 MB / 1.972 GB, free: 429.9 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.622e-05/3.195, allocations: 8.156 kB / 1.972 GB, free: 429.9 MB / 1.545 GB Notification: Performance of matching and sorting (n=790) (initialization_lambda0): time 0.02747/3.222, allocations: 9.204 MB / 1.981 GB, free: 426.4 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/3.222, allocations: 46.81 kB / 1.981 GB, free: 426.4 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/3.222, allocations: 31.56 kB / 1.981 GB, free: 426.4 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007676/3.23, allocations: 1.32 MB / 1.982 GB, free: 426.2 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005813/3.236, allocations: 1.202 MB / 1.983 GB, free: 426 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/3.247, allocations: 7.589 MB / 1.991 GB, free: 420 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00969/3.257, allocations: 0.5415 MB / 1.991 GB, free: 419.9 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/3.258, allocations: 269.6 kB / 1.991 GB, free: 419.8 MB / 1.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 120 (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,heaPum.refCyc.refCycHeaPumCoo.iceFacCal.conIsAirSource.y,heaPum.refCyc.refCycHeaPumHea.iceFacCal.conIsAirSource.y,conPumAlwOn.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,heaPum.hys.y,$PRE.heaPum.hys.y,heaPum.eff.hys.y,$PRE.heaPum.eff.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.errAndSetOn.y,heaPum.safCtr.minVolFloRatSaf.ySetOn.y,$PRE.heaPum.safCtr.minVolFloRatSaf.ySetOn.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.errAndSetOn.y,heaPum.safCtr.opeEnv.ySetOn.y,$PRE.heaPum.safCtr.opeEnv.ySetOn.y,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 (695): * Single equations (assignments): 684 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.002049/3.26, allocations: 0.5959 MB / 1.992 GB, free: 419.4 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003154/3.263, allocations: 0.8952 MB / 1.993 GB, free: 418.9 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/3.281, allocations: 7.029 MB / 2 GB, free: 416.3 MB / 1.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.247e-05/3.281, allocations: 44.34 kB / 2 GB, free: 416.3 MB / 1.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/3.281, allocations: 10.94 kB / 2 GB, free: 416.3 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01294/3.294, allocations: 5.063 MB / 2.005 GB, free: 414 MB / 1.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03305/3.327, allocations: 14.63 MB / 2.019 GB, free: 401.4 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/3.327, allocations: 8 kB / 2.019 GB, free: 401.4 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004228/3.331, allocations: 0.7767 MB / 2.02 GB, free: 400.6 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/3.333, allocations: 482.4 kB / 2.02 GB, free: 400.1 MB / 1.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000857/3.334, allocations: 131.9 kB / 2.02 GB, free: 400 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/3.346, allocations: 15.02 MB / 2.035 GB, free: 383.8 MB / 1.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/3.346, allocations: 11.94 kB / 2.035 GB, free: 383.8 MB / 1.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/3.367, allocations: 9.17 MB / 2.044 GB, free: 374.5 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00513/3.372, allocations: 1.627 MB / 2.046 GB, free: 372.8 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00288/3.375, allocations: 136 kB / 2.046 GB, free: 372.7 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007227/3.382, allocations: 389.6 kB / 2.046 GB, free: 372.3 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/3.383, allocations: 434.5 kB / 2.046 GB, free: 371.9 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005913/3.384, allocations: 207.8 kB / 2.047 GB, free: 371.7 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.01168/3.396, allocations: 6.009 MB / 2.052 GB, free: 365.8 MB / 1.545 GB Notification: Performance of sort global known variables: time 2e-07/3.396, allocations: 0 / 2.052 GB, free: 365.8 MB / 1.545 GB Notification: Performance of remove unused functions: time 0.01726/3.413, allocations: 3.908 MB / 2.056 GB, free: 361.8 MB / 1.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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: 70 (heaPum.safCtr.opeEnv.errAndSetOn.y,heaPum.safCtr.minVolFloRatSaf.errAndSetOn.y,heaPum.safCtr.onOffCtr.onOffFuzLog.staOff,heaPum.safCtr.onOffCtr.onOffFuzLog.staOn,heaPum.safCtr.onOffCtr.notIsOn.y,$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.booPasThr.y,heaPum.safCtr.opeEnv.ySetOn.y,heaPum.safCtr.opeEnv.bouMapHea.noErr,heaPum.safCtr.opeEnv.bouMapHea.hysLef.y,heaPum.safCtr.opeEnv.bouMapHea.hysRig.y,heaPum.safCtr.opeEnv.bouMapHea.hysBou.y,heaPum.safCtr.opeEnv.bouMapCoo.noErr,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.booPasThr.y,heaPum.safCtr.minVolFloRatSaf.ySetOn.y,heaPum.safCtr.minVolFloRatSaf.hysCon.y,heaPum.safCtr.minVolFloRatSaf.hysEva.y,heaPum.eff.hys.y,heaPum.hys.y) * Number of discrete states: 30 (timTab.nextTimeEvent,cooLoa.count,heaPum.safCtr.minVolFloRatSaf.hysEva.y,heaPum.safCtr.minVolFloRatSaf.hysCon.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.ySetOn.y,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.minVolFloRatSaf.ySetOn.y,heaPum.safCtr.minVolFloRatSaf.disErr.y,heaPum.safCtr.opeEnv.disErr.y,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (432): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 17 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.005908/3.419, allocations: 2.137 MB / 2.058 GB, free: 360.2 MB / 1.545 GB Notification: Performance of simCode: created initialization part: time 0.02717/3.446, allocations: 11.2 MB / 2.069 GB, free: 348.9 MB / 1.545 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/3.446, allocations: 5.438 kB / 2.069 GB, free: 348.9 MB / 1.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007251/3.453, allocations: 3.801 MB / 2.073 GB, free: 345 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02258/3.476, allocations: 4.259 MB / 2.077 GB, free: 340.9 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/3.513, allocations: 17.91 MB / 2.095 GB, free: 322.8 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007605/3.52, allocations: 4.818 MB / 2.099 GB, free: 318 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003545/3.524, allocations: 0.753 MB / 2.1 GB, free: 317.2 MB / 1.545 GB Notification: Performance of SimCode: time 1.403e-06/3.524, allocations: 0 / 2.1 GB, free: 317.2 MB / 1.545 GB Notification: Performance of Templates: time 1.382/4.906, allocations: 0.5254 GB / 2.626 GB, free: 470.6 MB / 1.623 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiator.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.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.1.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorCalcHelperMain.o OMCppBuildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorCalcHelperMain.cpp:29: ./OMCppBuildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorInitialize.cpp:1028:87: error: use of undeclared identifier 'weaDat_P_timeSpan_' SystemDefaultImplementation::setRealStartValue(_weaDat_P_conTimMin_P_weaDatEndTim_, weaDat_P_timeSpan_(2), false); ^ ./OMCppBuildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorInitialize.cpp:1037:87: error: use of undeclared identifier 'weaDat_P_timeSpan_' SystemDefaultImplementation::setRealStartValue(_weaDat_P_conTimMin_P_weaDatStaTim_, weaDat_P_timeSpan_(1), false); ^ ./OMCppBuildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorInitialize.cpp:1064:84: error: use of undeclared identifier 'weaDat_P_timeSpan_' SystemDefaultImplementation::setRealStartValue(_weaDat_P_conTim_P_weaDatEndTim_, weaDat_P_timeSpan_(2), false); ^ ./OMCppBuildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorInitialize.cpp:1073: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: *** [: OMCppBuildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Examples.CarnotWithLosses_OneRoomRadiatorCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 13.409233112004586] Failed to read output from testmodel.py, exit status != 0: 4.917337437000242 4.924382775 3.061416628 Calling exit ...