Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.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.SimpleExamples.TestDynamicDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6777/0.6777, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.344e-05/1.344e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 31.99 MB / 237.4 MB, free: 5.398 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.Examples.SimpleExamples.TestDynamicDrum1): time 1.295/1.414, allocations: 298.3 MB / 0.5231 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3822/1.797, allocations: 189.2 MB / 0.7078 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/1.797, allocations: 10.25 kB / 0.7079 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007421/1.798, allocations: 312.5 kB / 0.7082 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/1.8, allocations: 0.7697 MB / 0.7089 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01991/1.82, allocations: 9.815 MB / 0.7185 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005864/1.826, allocations: 9.823 MB / 0.7281 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/1.828, allocations: 3.015 MB / 0.731 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/1.83, allocations: 2.999 MB / 0.734 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003482/1.834, allocations: 3.737 MB / 0.7376 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005648/1.834, allocations: 309.9 kB / 0.7379 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02846/1.863, allocations: 21.49 MB / 0.7589 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00194/1.865, allocations: 1.949 MB / 0.7608 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00329/1.868, allocations: 2.879 MB / 0.7636 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/1.881, allocations: 12.1 MB / 0.7754 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/1.881, allocations: 4 kB / 0.7754 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/1.881, allocations: 0 / 0.7754 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.273e-05/1.881, allocations: 0 / 0.7754 GB, free: 5.242 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: 1470 * Number of variables: 1470 Notification: Performance of Generate backend data structure: time 0.02735/1.908, allocations: 8.683 MB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.908, allocations: 8.031 kB / 0.7839 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/1.909, allocations: 0.5174 MB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/1.912, allocations: 2.01 MB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001746/1.913, allocations: 1.819 MB / 0.7882 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007991/1.914, allocations: 373.2 kB / 0.7885 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/1.933, allocations: 10.64 MB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/1.933, allocations: 6.906 kB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005171/1.934, allocations: 144 kB / 0.799 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/1.934, allocations: 167.8 kB / 0.7992 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02885/1.963, allocations: 14.05 MB / 0.8129 GB, free: 1.301 MB / 0.6231 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.04448/2.007, allocations: 34.01 MB / 0.8461 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02086/2.028, allocations: 10.46 MB / 0.8564 GB, free: 2.852 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01565/2.044, allocations: 8.368 MB / 0.8645 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4658/2.509, allocations: 188.8 MB / 1.049 GB, free: 381 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/2.51, allocations: 88.2 kB / 1.049 GB, free: 381 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1150): time 8.476e-06/2.51, allocations: 4 kB / 1.049 GB, free: 381 MB / 0.795 GB Notification: Performance of matching and sorting (n=1151): time 0.1348/2.644, allocations: 54.41 MB / 1.102 GB, free: 331.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/2.644, allocations: 107.9 kB / 1.102 GB, free: 331.6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/2.645, allocations: 0.9378 MB / 1.103 GB, free: 330.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004756/2.646, allocations: 121.7 kB / 1.103 GB, free: 330.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/2.646, allocations: 0.7058 MB / 1.104 GB, free: 329.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001621/2.648, allocations: 3.801 MB / 1.108 GB, free: 326.1 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007832/2.648, allocations: 0.6991 MB / 1.108 GB, free: 325.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 2.98e-05/2.648, allocations: 301.1 kB / 1.109 GB, free: 325.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0133/2.662, allocations: 7.372 MB / 1.116 GB, free: 317.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/2.675, allocations: 8.195 MB / 1.124 GB, free: 309.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02667/2.702, allocations: 15.49 MB / 1.139 GB, free: 293.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/2.702, allocations: 0 / 1.139 GB, free: 293.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=1252) (initialization): time 0.03655/2.739, allocations: 20.6 MB / 1.159 GB, free: 273 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/2.739, allocations: 8 kB / 1.159 GB, free: 272.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-05/2.739, allocations: 35.98 kB / 1.159 GB, free: 272.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0481/2.787, allocations: 22.07 MB / 1.181 GB, free: 250.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008577/2.795, allocations: 1.908 MB / 1.183 GB, free: 248.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/2.817, allocations: 16.39 MB / 1.199 GB, free: 232.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007773/2.825, allocations: 1.408 MB / 1.2 GB, free: 230.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005377/2.825, allocations: 299.7 kB / 1.2 GB, free: 230.6 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 20 (sinkQ.C.a,sourceP.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 (428): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 2 systems {1, 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): 3 systems {(1,16), (1,1), (25,209)} Notification: Performance of prepare postOptimizeDAE: time 0.001926/2.827, allocations: 1.241 MB / 1.201 GB, free: 229.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/2.828, allocations: 402.6 kB / 1.202 GB, free: 229 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05961/2.888, allocations: 31.11 MB / 1.232 GB, free: 197.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05327/2.941, allocations: 23.38 MB / 1.255 GB, free: 174.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/2.941, allocations: 4 kB / 1.255 GB, free: 174.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/2.941, allocations: 40.5 kB / 1.255 GB, free: 174.2 MB / 0.795 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.07342/3.014, allocations: 38.72 MB / 1.293 GB, free: 134.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-05/3.015, allocations: 25.67 kB / 1.293 GB, free: 134.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01533/3.03, allocations: 3.827 MB / 1.297 GB, free: 131.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/3.043, allocations: 5.12 MB / 1.302 GB, free: 126 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005617/3.044, allocations: 303.6 kB / 1.302 GB, free: 125.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05401/3.098, allocations: 36.85 MB / 1.338 GB, free: 87.1 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/3.098, allocations: 6.125 kB / 1.338 GB, free: 87.1 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06886/3.167, allocations: 33.76 MB / 1.371 GB, free: 53.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00271/3.169, allocations: 1.633 MB / 1.372 GB, free: 51.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009388/3.17, allocations: 187.9 kB / 1.373 GB, free: 51.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00796/3.178, allocations: 1.443 MB / 1.374 GB, free: 49.87 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/3.18, allocations: 0.6304 MB / 1.375 GB, free: 49.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006406/3.18, allocations: 327.6 kB / 1.375 GB, free: 48.91 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000642/3.181, allocations: 0.6902 MB / 1.376 GB, free: 48.21 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/3.181, allocations: 4 kB / 1.376 GB, free: 48.21 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007022/3.188, allocations: 3.488 MB / 1.379 GB, free: 44.89 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 46 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (793): * Single equations (assignments): 718 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * 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,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,6), (1,1), (1,4), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006692/3.195, allocations: 2.65 MB / 1.382 GB, free: 42.72 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.03881/3.234, allocations: 22.25 MB / 1.403 GB, free: 19.74 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/3.234, allocations: 0.625 kB / 1.403 GB, free: 19.74 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01978/3.253, allocations: 13.62 MB / 1.417 GB, free: 5.605 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008626/3.262, allocations: 2.141 MB / 1.419 GB, free: 3.566 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2011/3.463, allocations: 30.66 MB / 1.449 GB, free: 402.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/3.465, allocations: 3.675 MB / 1.452 GB, free: 401.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003051/3.469, allocations: 0.6181 MB / 1.453 GB, free: 401.9 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/3.469, allocations: 0 / 1.453 GB, free: 401.9 MB / 0.795 GB Notification: Performance of Templates: time 0.4287/3.897, allocations: 458.1 MB / 1.9 GB, free: 350.4 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1.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.Examples.SimpleExamples.TestDynamicDrum1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum1CalcHelperMain.o] Error 1