Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.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.SimpleExamples.TestSimpleDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7279/0.7279, allocations: 150.8 MB / 166.7 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.535e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 32 MB / 237.4 MB, free: 5.43 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.SimpleExamples.TestSimpleDynamicCondenser): time 1.435/1.576, allocations: 297.3 MB / 0.5221 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4488/2.025, allocations: 194.9 MB / 0.7125 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/2.026, allocations: 20.12 kB / 0.7125 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/2.027, allocations: 198.6 kB / 0.7127 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/2.028, allocations: 419 kB / 0.7131 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02673/2.055, allocations: 10.72 MB / 0.7235 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001932/2.057, allocations: 1.663 MB / 0.7252 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009162/2.058, allocations: 0.6898 MB / 0.7258 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000916/2.059, allocations: 0.5624 MB / 0.7264 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/2.059, allocations: 0.5948 MB / 0.727 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.025e-05/2.059, allocations: 66.16 kB / 0.727 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02824/2.087, allocations: 19.58 MB / 0.7461 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003327/2.088, allocations: 226.7 kB / 0.7464 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000862/2.089, allocations: 0.6834 MB / 0.747 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01509/2.104, allocations: 7.936 MB / 0.7548 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/2.104, allocations: 0 / 0.7548 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.635e-06/2.104, allocations: 0 / 0.7548 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.355e-05/2.104, allocations: 0 / 0.7548 GB, free: 14.9 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.006886/2.111, allocations: 2.599 MB / 0.7573 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/2.111, allocations: 9.062 kB / 0.7573 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/2.111, allocations: 164.7 kB / 0.7575 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008996/2.112, allocations: 0.6392 MB / 0.7581 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/2.112, allocations: 101.9 kB / 0.7582 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/2.112, allocations: 134.9 kB / 0.7583 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/2.114, allocations: 1.461 MB / 0.7598 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/2.114, allocations: 2.906 kB / 0.7598 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/2.114, allocations: 55.28 kB / 0.7598 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/2.115, allocations: 45.8 kB / 0.7599 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/2.116, allocations: 1.158 MB / 0.761 GB, free: 12.12 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.07253/2.189, allocations: 37.57 MB / 0.7977 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/2.19, allocations: 0.6691 MB / 0.7983 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/2.191, allocations: 442.8 kB / 0.7988 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7911/2.982, allocations: 348.4 MB / 1.139 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/2.982, allocations: 42.05 kB / 1.139 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 2.885e-06/2.982, allocations: 8 kB / 1.139 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=111): time 0.006417/2.988, allocations: 3.746 MB / 1.143 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/2.988, allocations: 111.4 kB / 1.143 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/2.989, allocations: 0.717 MB / 1.144 GB, free: 306.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/2.989, allocations: 37.45 kB / 1.144 GB, free: 306.5 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkQ.mo:6:3-7:65:writable] Warning: The parameter PuitsRechauffeurEau.Q0 has fixed = false and a binding equation PuitsRechauffeurEau.Q0 = 100.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:6:3-6:53:writable] Warning: The parameter PerteChargeCondPompe3.K has fixed = false and a binding equation PerteChargeCondPompe3.K = 0.001, 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.0002489/2.989, allocations: 0.5854 MB / 1.144 GB, free: 306.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/2.989, allocations: 384.3 kB / 1.144 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/2.99, allocations: 131.7 kB / 1.145 GB, free: 305.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/2.99, allocations: 400.5 kB / 1.145 GB, free: 305.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/2.99, allocations: 364.5 kB / 1.145 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/2.991, allocations: 0.7108 MB / 1.146 GB, free: 304.4 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.007533/2.998, allocations: 3.034 MB / 1.149 GB, free: 302 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/2.998, allocations: 4 kB / 1.149 GB, free: 301.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003864/3.002, allocations: 1.939 MB / 1.151 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/3.002, allocations: 14.16 kB / 1.151 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/3.002, allocations: 15.69 kB / 1.151 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004263/3.007, allocations: 1.55 MB / 1.152 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/3.007, allocations: 154.6 kB / 1.153 GB, free: 299 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/3.009, allocations: 4.12 MB / 1.157 GB, free: 295.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/3.01, allocations: 52.25 kB / 1.157 GB, free: 295.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/3.01, allocations: 49.88 kB / 1.157 GB, free: 295 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.Condenseur.P = 0.0 PerteChargeCondPompe3.Q = $START.PerteChargeCondPompe3.Q. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 22 (sourcePCaloporteur.C.ftype,Condenseur.Cl.ftype,SourceRechauffeurEau.C.ftype,puitsPCaloporteur.fluid,PerteChargeCondPompe.fluid,PuitsRechauffeurEau.fluid,PerteChargeCondPompe1.fluid,PerteChargeCondPompe2.fluid,PerteChargeCondPompe3.fluid,Condenseur.fluid_p,sourcePCaloporteur.fluid1,SourceRechauffeurEau.fluid1,Condenseur.Cl.diff_on_1,PuitsRechauffeurEau.C.diff_on_1,Condenseur.Cv.diff_on_2,SourceRechauffeurEau.C.diff_on_2,Condenseur.Cee.diff_on_2,sourcePCaloporteur.C.diff_on_2,Condenseur.Cse.diff_on_1,PerteChargeCondPompe1.C2.diff_on_1,PerteChargeCondPompe3.C2.diff_on_1,PerteChargeCondPompe.C1.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,3), (1,1), (1,3), (1,5), (1,3), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004028/3.01, allocations: 291.2 kB / 1.157 GB, free: 294.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/3.011, allocations: 94.78 kB / 1.157 GB, free: 294.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/3.013, allocations: 1.65 MB / 1.159 GB, free: 293.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001986/3.015, allocations: 1.294 MB / 1.16 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/3.015, allocations: 4 kB / 1.16 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/3.015, allocations: 3.984 kB / 1.16 GB, free: 291.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/3.019, allocations: 3.026 MB / 1.163 GB, free: 288.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/3.019, allocations: 2.5 kB / 1.163 GB, free: 288.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/3.019, allocations: 119.7 kB / 1.163 GB, free: 288.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/3.021, allocations: 0.6527 MB / 1.164 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/3.021, allocations: 20 kB / 1.164 GB, free: 288 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/3.024, allocations: 5.216 MB / 1.169 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/3.024, allocations: 0 / 1.169 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/3.027, allocations: 1.996 MB / 1.171 GB, free: 280.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/3.027, allocations: 246.6 kB / 1.171 GB, free: 280.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/3.027, allocations: 24 kB / 1.171 GB, free: 280.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/3.028, allocations: 31.83 kB / 1.171 GB, free: 280.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/3.028, allocations: 60.86 kB / 1.171 GB, free: 280.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/3.028, allocations: 31.98 kB / 1.171 GB, free: 280.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000425/3.028, allocations: 469 kB / 1.172 GB, free: 279.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/3.028, allocations: 0 / 1.172 GB, free: 279.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003752/3.032, allocations: 1.748 MB / 1.173 GB, free: 278 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Condenseur.P,Condenseur.hl,Condenseur.hv,Condenseur.Vl) * Number of discrete variables: 2 (sourcePCaloporteur.C.diff_on_2,PerteChargeCondPompe1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 1 system {(4,1,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (1,3), (1,5), (1,3), (1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006188/3.038, allocations: 2.569 MB / 1.176 GB, free: 275.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00191/3.04, allocations: 1.334 MB / 1.177 GB, free: 274.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/3.04, allocations: 1.562 kB / 1.177 GB, free: 274.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/3.042, allocations: 0.8199 MB / 1.178 GB, free: 273.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/3.043, allocations: 357.2 kB / 1.178 GB, free: 273.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/3.046, allocations: 3.17 MB / 1.181 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/3.046, allocations: 1.156 MB / 1.182 GB, free: 269 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/3.047, allocations: 79.44 kB / 1.183 GB, free: 268.9 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/3.047, allocations: 0 / 1.183 GB, free: 268.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.05997/3.107, allocations: 73.72 MB / 1.255 GB, free: 196 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser.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.SimpleExamples.TestSimpleDynamicCondenserCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenserCalcHelperMain.o] Error 1