Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7371/0.7371, allocations: 150.9 MB / 167.1 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 12.83 kB / 237.7 MB, free: 1.836 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04658/0.04691, allocations: 31.36 MB / 269 MB, free: 7.129 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum): time 1.434/1.48, allocations: 299.8 MB / 0.5554 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4225/1.903, allocations: 190.4 MB / 0.7414 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008435/1.904, allocations: 20.19 kB / 0.7414 GB, free: 15.11 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/DynamicDrum.mo:96:3-98:48:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/DynamicDrum.mo:99:3-101:48:writable] Warning: Connector Cm is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/DynamicDrum.mo:102:3-104:50:writable] Warning: Connector Cd is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/DynamicDrum.mo:105:3-107:46:writable] Warning: Connector Cv is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/DynamicDrum.mo:121:3-123:47:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/DynamicDrum.mo:124:3-126:49:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/DynamicDrum.mo:127:3-129:47:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009355/1.905, allocations: 479 kB / 0.7419 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/1.906, allocations: 0.8957 MB / 0.7428 GB, free: 15.09 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02545/1.932, allocations: 12.6 MB / 0.7551 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007383/1.939, allocations: 10.34 MB / 0.7652 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/1.943, allocations: 3.589 MB / 0.7687 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003883/1.947, allocations: 3.527 MB / 0.7721 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005106/1.952, allocations: 3.947 MB / 0.776 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009958/1.953, allocations: 0.625 MB / 0.7766 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02996/1.983, allocations: 18.8 MB / 0.7949 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003087/1.986, allocations: 2.338 MB / 0.7972 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004687/1.991, allocations: 3.284 MB / 0.8004 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02658/2.017, allocations: 16.88 MB / 0.8169 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/2.017, allocations: 0 / 0.8169 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.363e-06/2.017, allocations: 0 / 0.8169 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000196/2.018, allocations: 0 / 0.8169 GB, free: 15.5 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.03214/2.05, allocations: 9.367 MB / 0.8261 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/2.05, allocations: 12.03 kB / 0.8261 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/2.051, allocations: 0.5423 MB / 0.8266 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/2.055, allocations: 2.163 MB / 0.8287 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001907/2.057, allocations: 1.796 MB / 0.8305 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/2.058, allocations: 395.8 kB / 0.8308 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/2.081, allocations: 10.21 MB / 0.8408 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/2.081, allocations: 0 / 0.8408 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005935/2.081, allocations: 148 kB / 0.841 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/2.082, allocations: 179.8 kB / 0.8411 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03256/2.114, allocations: 13.01 MB / 0.8538 GB, free: 9.215 MB / 0.67 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.04613/2.16, allocations: 31.98 MB / 0.8851 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02271/2.183, allocations: 9.943 MB / 0.8948 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01736/2.201, allocations: 7.812 MB / 0.9024 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.505/2.706, allocations: 188.4 MB / 1.086 GB, free: 379.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/2.706, allocations: 90.05 kB / 1.086 GB, free: 379.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1165): time 7.824e-06/2.706, allocations: 0 / 1.086 GB, free: 379.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1166): time 0.1373/2.843, allocations: 50.36 MB / 1.136 GB, free: 333.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/2.843, allocations: 146.6 kB / 1.136 GB, free: 333.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/2.844, allocations: 1.181 MB / 1.137 GB, free: 332.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0014/2.846, allocations: 129.7 kB / 1.137 GB, free: 332.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/2.846, allocations: 0.8098 MB / 1.138 GB, free: 331.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002896/2.849, allocations: 3.88 MB / 1.142 GB, free: 327.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/2.851, allocations: 1.434 MB / 1.143 GB, free: 326 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.271e-05/2.851, allocations: 301.8 kB / 1.143 GB, free: 325.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01418/2.865, allocations: 6.787 MB / 1.15 GB, free: 319 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01556/2.881, allocations: 7.647 MB / 1.157 GB, free: 311.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02944/2.91, allocations: 14.39 MB / 1.171 GB, free: 296.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/2.91, allocations: 4 kB / 1.171 GB, free: 296.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.04495/2.955, allocations: 19.97 MB / 1.191 GB, free: 276.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/2.955, allocations: 16.06 kB / 1.191 GB, free: 276.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.73e-05/2.955, allocations: 36.73 kB / 1.191 GB, free: 276.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05123/3.007, allocations: 23.01 MB / 1.213 GB, free: 253.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009385/3.016, allocations: 1.704 MB / 1.215 GB, free: 251.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02475/3.041, allocations: 17.1 MB / 1.232 GB, free: 234.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008178/3.049, allocations: 1.073 MB / 1.233 GB, free: 233.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008034/3.05, allocations: 310.1 kB / 1.233 GB, free: 233.1 MB / 0.8262 GB Warning: Assuming fixed start value for the following 1 variables: regulation_Niveau.pIsat.Integrateur1.x0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.x0,regulation_Niveau.pIsat.Integrateur1.reset.signal,sinkP.C.a,sourceQ.C.b,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,TubeEcranBoucleEvaporatoire.C2.b,TubeEcranBoucleEvaporatoire.C1.a,SteamValve.C2.b,SteamValve.C1.a,FeedwaterValve.C2.b,FeedwaterValve.C1.a,Drum.Cs.b,Drum.Ce3.a,Drum.Ce2.a,Drum.Cv.b,Drum.Cd.b,Drum.Cm.a,Drum.Ce1.a,Drum.Cs.a,Drum.Ce3.b,Drum.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 4 systems {(1,16), (1,1), (26,214), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002435/3.052, allocations: 1.302 MB / 1.234 GB, free: 231.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/3.053, allocations: 426.3 kB / 1.235 GB, free: 231.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05796/3.111, allocations: 24.51 MB / 1.259 GB, free: 206.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05492/3.166, allocations: 21.74 MB / 1.28 GB, free: 185.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/3.166, allocations: 4 kB / 1.28 GB, free: 185.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001619/3.167, allocations: 49.69 kB / 1.28 GB, free: 185 MB / 0.8262 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.08346/3.25, allocations: 35.77 MB / 1.315 GB, free: 149.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/3.25, allocations: 28.36 kB / 1.315 GB, free: 149.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01682/3.267, allocations: 3.299 MB / 1.318 GB, free: 146.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01337/3.28, allocations: 4.802 MB / 1.323 GB, free: 141.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001895/3.282, allocations: 315.5 kB / 1.323 GB, free: 141.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05818/3.341, allocations: 38.86 MB / 1.361 GB, free: 100.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/3.341, allocations: 7.562 kB / 1.361 GB, free: 100.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07404/3.415, allocations: 31.68 MB / 1.392 GB, free: 68.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003628/3.418, allocations: 1.66 MB / 1.394 GB, free: 67.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008706/3.419, allocations: 184 kB / 1.394 GB, free: 66.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007342/3.426, allocations: 1.092 MB / 1.395 GB, free: 65.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001372/3.428, allocations: 0.6383 MB / 1.396 GB, free: 65.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000613/3.428, allocations: 333.4 kB / 1.396 GB, free: 64.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007954/3.429, allocations: 0.8323 MB / 1.397 GB, free: 64.01 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/3.429, allocations: 3.469 kB / 1.397 GB, free: 64.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006972/3.436, allocations: 3.408 MB / 1.4 GB, free: 60.76 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 48 (Drum.P,Drum.hl,Drum.hv,Drum.Tp,Drum.Vv,TubeEcranBoucleEvaporatoire.P[2],TubeEcranBoucleEvaporatoire.P[3],TubeEcranBoucleEvaporatoire.P[4],TubeEcranBoucleEvaporatoire.P[5],TubeEcranBoucleEvaporatoire.P[6],TubeEcranBoucleEvaporatoire.P[7],TubeEcranBoucleEvaporatoire.P[8],TubeEcranBoucleEvaporatoire.P[9],TubeEcranBoucleEvaporatoire.P[10],TubeEcranBoucleEvaporatoire.P[11],TubeEcranBoucleEvaporatoire.Q[1],TubeEcranBoucleEvaporatoire.Q[2],TubeEcranBoucleEvaporatoire.Q[3],TubeEcranBoucleEvaporatoire.Q[4],TubeEcranBoucleEvaporatoire.Q[5],TubeEcranBoucleEvaporatoire.Q[6],TubeEcranBoucleEvaporatoire.Q[7],TubeEcranBoucleEvaporatoire.Q[8],TubeEcranBoucleEvaporatoire.Q[9],TubeEcranBoucleEvaporatoire.Q[10],TubeEcranBoucleEvaporatoire.Q[11],TubeEcranBoucleEvaporatoire.h[2],TubeEcranBoucleEvaporatoire.h[3],TubeEcranBoucleEvaporatoire.h[4],TubeEcranBoucleEvaporatoire.h[5],TubeEcranBoucleEvaporatoire.h[6],TubeEcranBoucleEvaporatoire.h[7],TubeEcranBoucleEvaporatoire.h[8],TubeEcranBoucleEvaporatoire.h[9],TubeEcranBoucleEvaporatoire.h[10],TubeEcranBoucleEvaporatoire.h[11],heatExchangerWall.Tp[1],heatExchangerWall.Tp[2],heatExchangerWall.Tp[3],heatExchangerWall.Tp[4],heatExchangerWall.Tp[5],heatExchangerWall.Tp[6],heatExchangerWall.Tp[7],heatExchangerWall.Tp[8],heatExchangerWall.Tp[9],heatExchangerWall.Tp[10],regulation_Niveau.pIsat.Integrateur1.x,regulation_Niveau.pT1_1.x) * Number of discrete variables: 1 (regulation_Niveau.pIsat.Integrateur1.x0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (819): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 10 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,1,62.5%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 15 systems {(1,6), (1,4), (1,1), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,3), (1,4), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005379/3.442, allocations: 2.461 MB / 1.402 GB, free: 58.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.04177/3.483, allocations: 21.31 MB / 1.423 GB, free: 36.83 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/3.483, allocations: 4 kB / 1.423 GB, free: 36.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0231/3.507, allocations: 13.13 MB / 1.436 GB, free: 23.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/3.517, allocations: 2.249 MB / 1.438 GB, free: 21.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.227/3.744, allocations: 25.09 MB / 1.463 GB, free: 410.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00348/3.747, allocations: 3.818 MB / 1.467 GB, free: 409.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003763/3.751, allocations: 0.6275 MB / 1.467 GB, free: 409.4 MB / 0.8262 GB Notification: Performance of SimCode: time 8.61e-07/3.751, allocations: 0 / 1.467 GB, free: 409.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.4888/4.24, allocations: 480.7 MB / 1.937 GB, free: 353.7 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:291:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_lsat_P_P_ = get<0>(tmp798.data).P_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:888:31: note: expanded from macro '_Drum_P_lsat_P_P_' #define _Drum_P_lsat_P_P_ _pointerToRealVars[734] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:292:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_lsat_P_T_ = get<0>(tmp798.data).T_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:889:31: note: expanded from macro '_Drum_P_lsat_P_T_' #define _Drum_P_lsat_P_T_ _pointerToRealVars[735] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:293:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_lsat_P_rho_ = get<0>(tmp798.data).rho_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:894:33: note: expanded from macro '_Drum_P_lsat_P_rho_' #define _Drum_P_lsat_P_rho_ _pointerToRealVars[740] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:294:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_lsat_P_h_ = get<0>(tmp798.data).h_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:892:31: note: expanded from macro '_Drum_P_lsat_P_h_' #define _Drum_P_lsat_P_h_ _pointerToRealVars[738] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:295:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_lsat_P_cp_ = get<0>(tmp798.data).cp_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:890:32: note: expanded from macro '_Drum_P_lsat_P_cp_' #define _Drum_P_lsat_P_cp_ _pointerToRealVars[736] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:296:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_lsat_P_pt_ = get<0>(tmp798.data).pt_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:893:32: note: expanded from macro '_Drum_P_lsat_P_pt_' #define _Drum_P_lsat_P_pt_ _pointerToRealVars[739] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:297:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_lsat_P_cv_ = get<0>(tmp798.data).cv_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:891:32: note: expanded from macro '_Drum_P_lsat_P_cv_' #define _Drum_P_lsat_P_cv_ _pointerToRealVars[737] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:298:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_vsat_P_P_ = get<1>(tmp798.data).P_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:932:31: note: expanded from macro '_Drum_P_vsat_P_P_' #define _Drum_P_vsat_P_P_ _pointerToRealVars[778] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:299:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_vsat_P_T_ = get<1>(tmp798.data).T_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:933:31: note: expanded from macro '_Drum_P_vsat_P_T_' #define _Drum_P_vsat_P_T_ _pointerToRealVars[779] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:300:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_vsat_P_rho_ = get<1>(tmp798.data).rho_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:938:33: note: expanded from macro '_Drum_P_vsat_P_rho_' #define _Drum_P_vsat_P_rho_ _pointerToRealVars[784] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:301:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_vsat_P_h_ = get<1>(tmp798.data).h_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:936:31: note: expanded from macro '_Drum_P_vsat_P_h_' #define _Drum_P_vsat_P_h_ _pointerToRealVars[782] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:302:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_vsat_P_cp_ = get<1>(tmp798.data).cp_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:934:32: note: expanded from macro '_Drum_P_vsat_P_cp_' #define _Drum_P_vsat_P_cp_ _pointerToRealVars[780] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:303:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_vsat_P_pt_ = get<1>(tmp798.data).pt_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:937:32: note: expanded from macro '_Drum_P_vsat_P_pt_' #define _Drum_P_vsat_P_pt_ _pointerToRealVars[783] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:304:3: error: use of undeclared identifier '_pointerToRealVars' _Drum_P_vsat_P_cv_ = get<1>(tmp798.data).cv_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:935:32: note: expanded from macro '_Drum_P_vsat_P_cv_' #define _Drum_P_vsat_P_cv_ _pointerToRealVars[781] ^ In file included from OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.cpp:25: In file included from ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgLoopMain.cpp:96: ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:315:3: error: use of undeclared identifier '_TubeEcranBoucleEvaporatoire_P_lsat2_P_P_' _TubeEcranBoucleEvaporatoire_P_lsat2_P_P_ = get<0>(tmp799.data).P_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:316:3: error: use of undeclared identifier '_TubeEcranBoucleEvaporatoire_P_lsat2_P_T_' _TubeEcranBoucleEvaporatoire_P_lsat2_P_T_ = get<0>(tmp799.data).T_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:317:3: error: use of undeclared identifier '_TubeEcranBoucleEvaporatoire_P_lsat2_P_rho_' _TubeEcranBoucleEvaporatoire_P_lsat2_P_rho_ = get<0>(tmp799.data).rho_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:318:3: error: use of undeclared identifier '_TubeEcranBoucleEvaporatoire_P_lsat2_P_h_' _TubeEcranBoucleEvaporatoire_P_lsat2_P_h_ = get<0>(tmp799.data).h_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumAlgloop591.cpp:319:3: error: use of undeclared identifier '_TubeEcranBoucleEvaporatoire_P_lsat2_P_cp_' _TubeEcranBoucleEvaporatoire_P_lsat2_P_cp_ = get<0>(tmp799.data).cp_; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrumCalcHelperMain.o] Error 1