Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 102.2 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 175.7 kB / 16.58 MB, free: 6.402 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.435/1.435, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 270.1 kB / 292 MB, free: 1.98 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8126/0.8126, allocations: 144.7 MB / 487.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 12.94 kB / 0.5691 GB, free: 38.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 83.08 MB / 0.6502 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.09742/0.2744, allocations: 105.7 MB / 0.7534 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4733/0.7477, allocations: 25.86 MB / 0.7787 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006584/0.7544, allocations: 134.2 kB / 0.7788 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004937/0.7593, allocations: 1.145 MB / 0.78 GB, free: 15.45 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:184:10-184:30:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:185:10-185:22:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:191:10-191:30:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:192:10-192:22:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFTyping.typeBindings: time 0.01136/0.7707, allocations: 3.101 MB / 0.783 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008102/0.7788, allocations: 2.28 MB / 0.7852 GB, free: 15.42 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFFlatten.flatten: time 0.01753/0.7964, allocations: 11.14 MB / 0.7961 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005664/0.8021, allocations: 2.604 MB / 0.7986 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008443/0.8106, allocations: 2.816 MB / 0.8014 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007012/0.8176, allocations: 2.553 MB / 0.8039 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009773/0.8186, allocations: 144.2 kB / 0.804 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006256/0.8249, allocations: 1.458 MB / 0.8054 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.8263, allocations: 0.7665 MB / 0.8062 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.8284, allocations: 0.7826 MB / 0.807 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006832/0.8353, allocations: 4.865 MB / 0.8117 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.8353, allocations: 1.688 kB / 0.8117 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8353, allocations: 0 / 0.8117 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001541/0.8355, allocations: 7.375 kB / 0.8117 GB, free: 14.22 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 603 * Number of variables: 603 Notification: Performance of Generate backend data structure: time 0.007558/0.843, allocations: 3.648 MB / 0.8153 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8431, allocations: 9.344 kB / 0.8153 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.8455, allocations: 0.599 MB / 0.8159 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006173/0.8517, allocations: 3.333 MB / 0.8191 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.8519, allocations: 187 kB / 0.8193 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/0.8523, allocations: 250.2 kB / 0.8195 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005213/0.8575, allocations: 3.053 MB / 0.8225 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/0.8576, allocations: 7.344 kB / 0.8225 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.8578, allocations: 107.8 kB / 0.8226 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/0.8579, allocations: 91.52 kB / 0.8227 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/0.8624, allocations: 2.478 MB / 0.8251 GB, free: 9.559 MB / 0.5606 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.01547/0.8779, allocations: 12.66 MB / 0.8375 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.8805, allocations: 1.729 MB / 0.8392 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.8821, allocations: 1.054 MB / 0.8402 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007149/0.8893, allocations: 4.356 MB / 0.8445 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.8894, allocations: 50.41 kB / 0.8445 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001405/0.8908, allocations: 257.9 kB / 0.8448 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=127): time 4.619e-06/0.8908, allocations: 0 / 0.8448 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127): time 0.004926/0.8957, allocations: 2.467 MB / 0.8472 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.8958, allocations: 90.14 kB / 0.8473 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005316/0.9011, allocations: 2.813 MB / 0.85 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.9014, allocations: 55.27 kB / 0.8501 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.9031, allocations: 1.547 MB / 0.8516 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006085/0.9037, allocations: 460.9 kB / 0.852 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.9038, allocations: 32.78 kB / 0.852 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.904, allocations: 374 kB / 0.8524 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.9054, allocations: 0.6729 MB / 0.8531 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.9073, allocations: 1.253 MB / 0.8543 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.9089, allocations: 0.8974 MB / 0.8552 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.909, allocations: 4 kB / 0.8552 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004951/0.9139, allocations: 2.377 MB / 0.8575 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004237/0.9144, allocations: 0.5795 MB / 0.8581 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.9144, allocations: 16 kB / 0.8581 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.9149, allocations: 179.2 kB / 0.8582 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.9165, allocations: 445.3 kB / 0.8587 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.9189, allocations: 2.294 MB / 0.8609 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.9216, allocations: 218.2 kB / 0.8611 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.9219, allocations: 81.73 kB / 0.8612 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.9219, allocations: 4 kB / 0.8612 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004394/0.9263, allocations: 2.034 MB / 0.8632 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.701e-05/0.9264, allocations: 16 kB / 0.8632 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/0.9269, allocations: 179.4 kB / 0.8634 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.9284, allocations: 433.5 kB / 0.8638 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.9307, allocations: 2.285 MB / 0.866 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.9334, allocations: 195 kB / 0.8662 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/0.9337, allocations: 81.73 kB / 0.8663 GB, free: 0.8594 MB / 0.5762 GB Warning: Assuming fixed start value for the following 6 variables: CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003393/0.9371, allocations: 1.177 MB / 0.8674 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/0.9384, allocations: 296.5 kB / 0.8677 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/0.9434, allocations: 2.047 MB / 0.8697 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.9434, allocations: 16 kB / 0.8697 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.9434, allocations: 2.734 kB / 0.8697 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002927/0.9464, allocations: 1.836 MB / 0.8715 GB, free: 12.85 MB / 0.5919 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 postOpt removeSimpleEquations (simulation): time 0.009641/0.956, allocations: 4.534 MB / 0.8759 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.9561, allocations: 0 / 0.8759 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.9573, allocations: 275.5 kB / 0.8762 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.9577, allocations: 159.1 kB / 0.8764 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.9579, allocations: 38.22 kB / 0.8764 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/0.9602, allocations: 2.249 MB / 0.8786 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9602, allocations: 10.73 kB / 0.8786 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/0.9656, allocations: 2.873 MB / 0.8814 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/0.968, allocations: 0.6016 MB / 0.882 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/0.969, allocations: 24.81 kB / 0.882 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/0.9716, allocations: 175.9 kB / 0.8822 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.9719, allocations: 95.55 kB / 0.8823 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/0.9721, allocations: 57.52 kB / 0.8823 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004804/0.9769, allocations: 1.918 MB / 0.8842 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9769, allocations: 3.938 kB / 0.8842 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008549/0.9855, allocations: 1.708 MB / 0.8859 GB, free: 1.539 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002876/0.9884, allocations: 0.859 MB / 0.8867 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006633/0.9951, allocations: 3.064 MB / 0.8897 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.9951, allocations: 0.5625 kB / 0.8897 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.997, allocations: 0.9613 MB / 0.8906 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00898/1.006, allocations: 1.526 MB / 0.8921 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.02, allocations: 7.387 MB / 0.8994 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/1.023, allocations: 2.18 MB / 0.9015 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.024, allocations: 267.6 kB / 0.9017 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/1.024, allocations: 3.938 kB / 0.9017 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.1123/1.137, allocations: 70.98 MB / 0.9711 GB, free: 14.1 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorageCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorageCalcHelperMain.o] Error 1