Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.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.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6837/0.6837, allocations: 150.8 MB / 166.7 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.23e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 31.98 MB / 237.4 MB, free: 5.406 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser): time 1.304/1.422, allocations: 298.7 MB / 0.5236 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3933/1.815, allocations: 191.5 MB / 0.7105 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/1.816, allocations: 28.66 kB / 0.7106 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004616/1.816, allocations: 242.8 kB / 0.7108 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009618/1.817, allocations: 0.5585 MB / 0.7114 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02048/1.838, allocations: 9.938 MB / 0.7211 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001477/1.839, allocations: 2.089 MB / 0.7231 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007233/1.84, allocations: 0.9576 MB / 0.724 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/1.84, allocations: 0.701 MB / 0.7247 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/1.841, allocations: 0.7545 MB / 0.7255 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.926e-05/1.841, allocations: 81.25 kB / 0.7255 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02553/1.867, allocations: 21.53 MB / 0.7466 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/1.867, allocations: 289.3 kB / 0.7468 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009162/1.868, allocations: 0.8859 MB / 0.7477 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009399/1.877, allocations: 8.456 MB / 0.756 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/1.877, allocations: 3.75 kB / 0.756 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/1.877, allocations: 1.875 kB / 0.756 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.638e-05/1.877, allocations: 0 / 0.756 GB, free: 14.1 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.004636/1.882, allocations: 2.905 MB / 0.7588 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/1.882, allocations: 8.031 kB / 0.7588 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/1.882, allocations: 226.6 kB / 0.759 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008223/1.883, allocations: 0.8026 MB / 0.7598 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/1.883, allocations: 148.6 kB / 0.7599 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/1.883, allocations: 183.4 kB / 0.7601 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/1.885, allocations: 1.932 MB / 0.762 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.886, allocations: 8.719 kB / 0.762 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.886, allocations: 78.5 kB / 0.7621 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/1.886, allocations: 58.64 kB / 0.7621 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/1.887, allocations: 1.307 MB / 0.7634 GB, free: 10.8 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 preOpt removeSimpleEquations (simulation): time 0.1959/2.083, allocations: 103.4 MB / 0.8644 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/2.084, allocations: 0.6541 MB / 0.8651 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/2.085, allocations: 324.2 kB / 0.8654 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5365/2.621, allocations: 241.8 MB / 1.101 GB, free: 351.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/2.621, allocations: 46.53 kB / 1.102 GB, free: 351.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=97): time 2.564e-06/2.621, allocations: 0 / 1.102 GB, free: 351.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=97): time 0.008054/2.629, allocations: 2.726 MB / 1.104 GB, free: 349.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/2.63, allocations: 162.7 kB / 1.104 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009242/2.63, allocations: 0.9528 MB / 1.105 GB, free: 348.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/2.631, allocations: 37.2 kB / 1.105 GB, free: 348.5 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:8:3-8:64:writable] Warning: The parameter Puit_condenseur.P0 has fixed = false and a binding equation Puit_condenseur.P0 = 100000.0, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0003206/2.631, allocations: 0.8549 MB / 1.106 GB, free: 347.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/2.631, allocations: 339.6 kB / 1.106 GB, free: 347.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/2.631, allocations: 166.3 kB / 1.107 GB, free: 347.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/2.631, allocations: 359.1 kB / 1.107 GB, free: 347.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/2.632, allocations: 340.8 kB / 1.107 GB, free: 346.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/2.632, allocations: 0.8792 MB / 1.108 GB, free: 345.9 MB / 0.8106 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.006738/2.639, allocations: 3.01 MB / 1.111 GB, free: 343.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/2.639, allocations: 4 kB / 1.111 GB, free: 343.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003406/2.643, allocations: 1.96 MB / 1.113 GB, free: 341.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/2.643, allocations: 14.7 kB / 1.113 GB, free: 341.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/2.643, allocations: 20 kB / 1.113 GB, free: 341.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/2.645, allocations: 1.031 MB / 1.114 GB, free: 340.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/2.645, allocations: 215.5 kB / 1.114 GB, free: 340.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/2.647, allocations: 4.388 MB / 1.119 GB, free: 336.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/2.648, allocations: 189.2 kB / 1.119 GB, free: 336.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/2.648, allocations: 75.73 kB / 1.119 GB, free: 336.1 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Source_condenseur.P = $START.Source_condenseur.P. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 35 (Source_condenseur.C.ftype,condenseur.Cex.ftype,sourceP2.C.ftype,sourceP1.C.ftype,sourceP.C.ftype,condenseur.fluids[1],Puit_condenseur.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,condenseur.fluid_p,singularPressureLoss2.fluid,Source_condenseur.fluid1,sourceP2.fluid1,sourceP1.fluid1,sourceP.fluid1,condenseur.Cee.diff_on_2,Source_condenseur.C.diff_on_2,condenseur.Cse.diff_on_1,singularPressureLoss4.C2.diff_on_1,condenseur.Cex.diff_on_1,singularPressureLoss5.C2.diff_on_1,condenseur.Cep.diff_on_2,sourceP2.C.diff_on_2,condenseur.Cev.diff_on_2,sourceP1.C.diff_on_2,condenseur.Cvt.diff_on_2,sourceP.C.diff_on_2,condenseur.Cex.diff_on_2,singularPressureLoss3.C2.diff_on_1,singularPressureLoss1.C2.diff_on_1,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 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): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,1), (1,3), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004095/2.649, allocations: 349.6 kB / 1.119 GB, free: 335.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/2.649, allocations: 118.5 kB / 1.119 GB, free: 335.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/2.651, allocations: 1.513 MB / 1.121 GB, free: 334.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001285/2.652, allocations: 1.104 MB / 1.122 GB, free: 334 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/2.652, allocations: 4 kB / 1.122 GB, free: 334 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/2.652, allocations: 7.922 kB / 1.122 GB, free: 334 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/2.656, allocations: 3.338 MB / 1.125 GB, free: 331.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/2.656, allocations: 4 kB / 1.125 GB, free: 331.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/2.656, allocations: 86.11 kB / 1.125 GB, free: 331.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002963/2.659, allocations: 1.172 MB / 1.126 GB, free: 330.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/2.659, allocations: 28 kB / 1.126 GB, free: 330.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/2.661, allocations: 2.965 MB / 1.129 GB, free: 327 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.661, allocations: 4.031 kB / 1.129 GB, free: 327 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/2.663, allocations: 1.441 MB / 1.131 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/2.663, allocations: 279.1 kB / 1.131 GB, free: 325.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/2.663, allocations: 16 kB / 1.131 GB, free: 325.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/2.663, allocations: 31.89 kB / 1.131 GB, free: 325.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/2.663, allocations: 67.89 kB / 1.131 GB, free: 325.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/2.664, allocations: 31.98 kB / 1.131 GB, free: 325.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005282/2.664, allocations: 0.5845 MB / 1.132 GB, free: 324.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/2.664, allocations: 0 / 1.132 GB, free: 324.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003038/2.667, allocations: 1.919 MB / 1.133 GB, free: 322.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Source_condenseur.C.diff_on_2,singularPressureLoss4.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,1), (6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005086/2.672, allocations: 2.463 MB / 1.136 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001682/2.674, allocations: 1.287 MB / 1.137 GB, free: 319.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/2.674, allocations: 0 / 1.137 GB, free: 319.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007996/2.675, allocations: 0.5611 MB / 1.138 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/2.676, allocations: 435.1 kB / 1.138 GB, free: 318.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/2.679, allocations: 3.436 MB / 1.141 GB, free: 315 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/2.68, allocations: 1.28 MB / 1.143 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/2.68, allocations: 95.42 kB / 1.143 GB, free: 313.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/2.68, allocations: 0 / 1.143 GB, free: 313.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.05435/2.734, allocations: 80.44 MB / 1.221 GB, free: 233.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.makefile clang++ -std=c++14 NOTFOUND -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.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenserCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenserCalcHelperMain.o] Error 1