Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.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.TestDynamicDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6904/0.6904, allocations: 150.8 MB / 166.7 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.355e-05/1.356e-05, allocations: 4 kB / 205.4 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 31.97 MB / 237.4 MB, free: 5.449 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.TestDynamicDrum3): time 1.31/1.425, allocations: 298.1 MB / 0.523 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.385/1.81, allocations: 189.1 MB / 0.7077 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/1.811, allocations: 8.375 kB / 0.7077 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005544/1.811, allocations: 307.3 kB / 0.708 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/1.812, allocations: 0.7515 MB / 0.7087 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01987/1.832, allocations: 9.81 MB / 0.7183 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005829/1.838, allocations: 9.771 MB / 0.7278 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/1.84, allocations: 3.011 MB / 0.7308 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/1.843, allocations: 2.976 MB / 0.7337 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/1.846, allocations: 3.727 MB / 0.7373 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005639/1.847, allocations: 310.5 kB / 0.7376 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02536/1.872, allocations: 18.6 MB / 0.7558 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001686/1.874, allocations: 1.958 MB / 0.7577 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003202/1.877, allocations: 2.866 MB / 0.7605 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/1.888, allocations: 11.5 MB / 0.7717 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.888, allocations: 0 / 0.7717 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/1.888, allocations: 0 / 0.7717 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.218e-05/1.888, allocations: 0 / 0.7717 GB, free: 7.82 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: 1459 * Number of variables: 1459 Notification: Performance of Generate backend data structure: time 0.02733/1.916, allocations: 8.541 MB / 0.7801 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/1.916, allocations: 8.031 kB / 0.7801 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008357/1.917, allocations: 0.5111 MB / 0.7806 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/1.919, allocations: 1.994 MB / 0.7825 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001754/1.921, allocations: 1.823 MB / 0.7843 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000803/1.922, allocations: 385.5 kB / 0.7847 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/1.941, allocations: 10.61 MB / 0.795 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/1.941, allocations: 6.906 kB / 0.795 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005582/1.941, allocations: 143.9 kB / 0.7952 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/1.941, allocations: 165.5 kB / 0.7953 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02915/1.97, allocations: 14.03 MB / 0.809 GB, free: 5.051 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.02871/1.999, allocations: 25.47 MB / 0.8339 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02091/2.02, allocations: 10.43 MB / 0.8441 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0157/2.036, allocations: 8.341 MB / 0.8522 GB, free: 7.699 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4786/2.514, allocations: 188.8 MB / 1.037 GB, free: 391.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/2.514, allocations: 97.8 kB / 1.037 GB, free: 391.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1140): time 8.506e-06/2.514, allocations: 3.844 kB / 1.037 GB, free: 391.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=1141): time 0.1338/2.648, allocations: 54.25 MB / 1.09 GB, free: 345.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/2.648, allocations: 115.8 kB / 1.09 GB, free: 345.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/2.649, allocations: 0.9537 MB / 1.091 GB, free: 344.4 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004798/2.65, allocations: 121.7 kB / 1.091 GB, free: 344.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/2.65, allocations: 0.6846 MB / 1.091 GB, free: 343.6 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001636/2.652, allocations: 3.769 MB / 1.095 GB, free: 339.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008156/2.652, allocations: 0.699 MB / 1.096 GB, free: 339.1 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.059e-05/2.652, allocations: 307.6 kB / 1.096 GB, free: 338.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01333/2.666, allocations: 7.365 MB / 1.103 GB, free: 331.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/2.679, allocations: 8.188 MB / 1.111 GB, free: 323.1 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02685/2.706, allocations: 15.43 MB / 1.126 GB, free: 307.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/2.706, allocations: 0 / 1.126 GB, free: 307.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03667/2.743, allocations: 20.61 MB / 1.147 GB, free: 286.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/2.743, allocations: 8 kB / 1.147 GB, free: 286.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/2.743, allocations: 28 kB / 1.147 GB, free: 286.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04917/2.792, allocations: 22.19 MB / 1.168 GB, free: 264.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00873/2.801, allocations: 1.884 MB / 1.17 GB, free: 262.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/2.823, allocations: 16.39 MB / 1.186 GB, free: 246.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008047/2.831, allocations: 1.412 MB / 1.187 GB, free: 244.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005555/2.832, allocations: 303.6 kB / 1.188 GB, free: 244.4 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 (429): * Single equations (assignments): 408 * 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,3), (1,16), (1,1), (25,209)} Notification: Performance of prepare postOptimizeDAE: time 0.001972/2.834, allocations: 1.233 MB / 1.189 GB, free: 243.1 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/2.835, allocations: 407.2 kB / 1.189 GB, free: 242.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05734/2.892, allocations: 26.1 MB / 1.215 GB, free: 216.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05281/2.945, allocations: 23.37 MB / 1.238 GB, free: 193 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/2.945, allocations: 3.938 kB / 1.238 GB, free: 193 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/2.945, allocations: 47.83 kB / 1.238 GB, free: 193 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.07355/3.018, allocations: 38.64 MB / 1.275 GB, free: 153.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.836e-05/3.018, allocations: 24.5 kB / 1.275 GB, free: 153.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.016/3.034, allocations: 3.839 MB / 1.279 GB, free: 149.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01337/3.048, allocations: 5.128 MB / 1.284 GB, free: 144.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005605/3.048, allocations: 307.6 kB / 1.285 GB, free: 144.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0548/3.103, allocations: 36.84 MB / 1.32 GB, free: 105.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/3.103, allocations: 7.938 kB / 1.32 GB, free: 105.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0693/3.173, allocations: 33.76 MB / 1.353 GB, free: 71.97 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/3.175, allocations: 1.622 MB / 1.355 GB, free: 70.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006958/3.176, allocations: 176 kB / 1.355 GB, free: 70.15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007407/3.183, allocations: 1.447 MB / 1.357 GB, free: 68.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/3.184, allocations: 0.6382 MB / 1.357 GB, free: 68.06 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000549/3.185, allocations: 319.7 kB / 1.358 GB, free: 67.75 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005772/3.186, allocations: 0.6622 MB / 1.358 GB, free: 67.08 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/3.186, allocations: 0 / 1.358 GB, free: 67.08 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006322/3.192, allocations: 3.366 MB / 1.361 GB, free: 63.87 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,3), (1,1), (1,4), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005123/3.197, allocations: 2.489 MB / 1.364 GB, free: 61.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.04014/3.237, allocations: 22.22 MB / 1.386 GB, free: 38.87 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/3.237, allocations: 0 / 1.386 GB, free: 38.87 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01975/3.257, allocations: 13.61 MB / 1.399 GB, free: 24.74 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00856/3.266, allocations: 2.114 MB / 1.401 GB, free: 22.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2054/3.471, allocations: 30.64 MB / 1.431 GB, free: 406 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/3.473, allocations: 3.673 MB / 1.434 GB, free: 405.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003236/3.477, allocations: 0.6161 MB / 1.435 GB, free: 405.1 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/3.477, allocations: 0 / 1.435 GB, free: 405.1 MB / 0.795 GB Notification: Performance of Templates: time 0.4285/3.905, allocations: 453.3 MB / 1.878 GB, free: 378.3 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3.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.TestDynamicDrum3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum3CalcHelperMain.o] Error 1