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.7721/0.7721, allocations: 150.8 MB / 166.7 MB, free: 14.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 19.97 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1582, allocations: 31.33 MB / 236.1 MB, free: 5.449 MB / 190.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.553/1.712, allocations: 298.8 MB / 0.5224 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.523/2.235, allocations: 188.5 MB / 0.7064 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/2.236, allocations: 17.19 kB / 0.7064 GB, free: 2.043 MB / 0.5762 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.001351/2.238, allocations: 398.6 kB / 0.7068 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/2.24, allocations: 0.8187 MB / 0.7076 GB, free: 2.039 MB / 0.5762 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.03718/2.277, allocations: 11.13 MB / 0.7185 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009274/2.286, allocations: 10.33 MB / 0.7286 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005602/2.292, allocations: 3.585 MB / 0.7321 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007092/2.299, allocations: 3.569 MB / 0.7356 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008187/2.307, allocations: 4.129 MB / 0.7396 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002563/2.31, allocations: 0.6234 MB / 0.7402 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04139/2.351, allocations: 18.84 MB / 0.7586 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004316/2.355, allocations: 2.356 MB / 0.7609 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00768/2.363, allocations: 3.31 MB / 0.7641 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02182/2.385, allocations: 12.09 MB / 0.7759 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/2.385, allocations: 5 kB / 0.7759 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.003e-06/2.385, allocations: 0 / 0.7759 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002484/2.385, allocations: 0 / 0.7759 GB, free: 3.426 MB / 0.5919 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.03776/2.423, allocations: 9.364 MB / 0.7851 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/2.423, allocations: 8.031 kB / 0.7851 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/2.425, allocations: 0.5501 MB / 0.7856 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/2.429, allocations: 2.163 MB / 0.7877 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002172/2.431, allocations: 1.796 MB / 0.7895 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/2.433, allocations: 387.9 kB / 0.7899 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02569/2.458, allocations: 10.21 MB / 0.7998 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.868e-05/2.458, allocations: 3 kB / 0.7998 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007139/2.459, allocations: 148 kB / 0.8 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/2.459, allocations: 175.9 kB / 0.8001 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03542/2.495, allocations: 13.01 MB / 0.8128 GB, free: 13.48 MB / 0.6387 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.05515/2.55, allocations: 32.04 MB / 0.8441 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/2.574, allocations: 9.935 MB / 0.8538 GB, free: 2.383 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01813/2.592, allocations: 7.818 MB / 0.8615 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5268/3.119, allocations: 187.1 MB / 1.044 GB, free: 409.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/3.119, allocations: 104.1 kB / 1.044 GB, free: 409.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1165): time 9.217e-06/3.119, allocations: 0 / 1.044 GB, free: 409.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1166): time 0.1481/3.267, allocations: 50.37 MB / 1.094 GB, free: 367.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/3.267, allocations: 137.8 kB / 1.094 GB, free: 366.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/3.268, allocations: 1.185 MB / 1.095 GB, free: 365.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.001748/3.27, allocations: 125.7 kB / 1.095 GB, free: 365.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/3.271, allocations: 0.8071 MB / 1.096 GB, free: 364.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.003544/3.274, allocations: 3.879 MB / 1.099 GB, free: 361 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00253/3.277, allocations: 1.434 MB / 1.101 GB, free: 359.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/3.277, allocations: 301.1 kB / 1.101 GB, free: 359.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01396/3.291, allocations: 6.794 MB / 1.108 GB, free: 352.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01603/3.307, allocations: 7.634 MB / 1.115 GB, free: 344.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0311/3.338, allocations: 14.4 MB / 1.129 GB, free: 330.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.958e-05/3.338, allocations: 0 / 1.129 GB, free: 330.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.04911/3.387, allocations: 19.97 MB / 1.149 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/3.387, allocations: 8 kB / 1.149 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.201e-05/3.387, allocations: 31.98 kB / 1.149 GB, free: 310 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05357/3.441, allocations: 23.04 MB / 1.171 GB, free: 287 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009997/3.451, allocations: 1.704 MB / 1.173 GB, free: 285.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02687/3.478, allocations: 17.1 MB / 1.19 GB, free: 267.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/3.488, allocations: 1.131 MB / 1.191 GB, free: 266.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002661/3.491, allocations: 303.6 kB / 1.191 GB, free: 266.5 MB / 0.8106 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.006091/3.497, allocations: 1.301 MB / 1.192 GB, free: 265.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/3.499, allocations: 422.4 kB / 1.193 GB, free: 264.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06888/3.568, allocations: 24.55 MB / 1.217 GB, free: 240.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06165/3.63, allocations: 21.76 MB / 1.238 GB, free: 218.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.28e-05/3.63, allocations: 4 kB / 1.238 GB, free: 218.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002076/3.63, allocations: 43.83 kB / 1.238 GB, free: 218.4 MB / 0.8106 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.09198/3.722, allocations: 37.53 MB / 1.275 GB, free: 180.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001855/3.722, allocations: 23.98 kB / 1.275 GB, free: 180.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01672/3.739, allocations: 3.303 MB / 1.278 GB, free: 177.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01375/3.753, allocations: 4.8 MB / 1.283 GB, free: 172.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002543/3.755, allocations: 311.6 kB / 1.283 GB, free: 172.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06/3.815, allocations: 38.89 MB / 1.321 GB, free: 131.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/3.815, allocations: 4 kB / 1.321 GB, free: 131.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07731/3.893, allocations: 31.67 MB / 1.352 GB, free: 99.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004706/3.897, allocations: 1.664 MB / 1.354 GB, free: 98.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/3.899, allocations: 183.2 kB / 1.354 GB, free: 97.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008914/3.908, allocations: 1.17 MB / 1.355 GB, free: 96.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/3.91, allocations: 0.6494 MB / 1.355 GB, free: 96.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008297/3.911, allocations: 335.6 kB / 1.356 GB, free: 95.76 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009121/3.911, allocations: 0.8284 MB / 1.357 GB, free: 94.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/3.911, allocations: 0 / 1.357 GB, free: 94.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.009385/3.921, allocations: 3.412 MB / 1.36 GB, free: 91.68 MB / 0.8106 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.007041/3.928, allocations: 2.528 MB / 1.362 GB, free: 89.69 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.1685/4.096, allocations: 70.99 MB / 1.432 GB, free: 18.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/4.096, allocations: 0 / 1.432 GB, free: 18.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.2076/4.304, allocations: 13.14 MB / 1.445 GB, free: 423 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01225/4.316, allocations: 2.26 MB / 1.447 GB, free: 423 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06337/4.38, allocations: 27.94 MB / 1.474 GB, free: 416.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/4.383, allocations: 3.819 MB / 1.478 GB, free: 415.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004041/4.387, allocations: 0.6322 MB / 1.478 GB, free: 415.4 MB / 0.8106 GB Notification: Performance of SimCode: time 9.72e-07/4.387, allocations: 0 / 1.478 GB, free: 415.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.5575/4.944, allocations: 480.7 MB / 1.948 GB, free: 344.9 MB / 0.8106 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++14 -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>(tmp805.data).P_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:889: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>(tmp805.data).T_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:890: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>(tmp805.data).rho_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:895: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>(tmp805.data).h_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:893: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>(tmp805.data).cp_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:891: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>(tmp805.data).pt_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:894: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>(tmp805.data).cv_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:892: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>(tmp805.data).P_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:933: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>(tmp805.data).T_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:934: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>(tmp805.data).rho_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:939: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>(tmp805.data).h_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:937: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>(tmp805.data).cp_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:935: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>(tmp805.data).pt_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:938: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>(tmp805.data).cv_; ^ ./OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestDynamicDrum.h:936: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>(tmp806.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>(tmp806.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>(tmp806.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>(tmp806.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>(tmp806.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