Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.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.TestDynamicDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6969/0.6969, allocations: 150.8 MB / 166.7 MB, free: 15.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.359e-05/1.36e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 31.98 MB / 237.4 MB, free: 5.41 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.TestDynamicDrum2): time 1.328/1.442, allocations: 298.3 MB / 0.5231 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3908/1.832, allocations: 189.2 MB / 0.7079 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007804/1.833, allocations: 8.562 kB / 0.7079 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008071/1.834, allocations: 364.5 kB / 0.7082 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/1.836, allocations: 0.8195 MB / 0.709 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02096/1.857, allocations: 9.821 MB / 0.7186 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006217/1.863, allocations: 9.849 MB / 0.7282 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/1.866, allocations: 3.038 MB / 0.7312 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/1.869, allocations: 3.014 MB / 0.7341 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/1.873, allocations: 3.785 MB / 0.7378 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005714/1.873, allocations: 317.1 kB / 0.7381 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02573/1.899, allocations: 18.69 MB / 0.7564 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001679/1.901, allocations: 1.991 MB / 0.7583 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004466/1.905, allocations: 2.913 MB / 0.7612 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01171/1.917, allocations: 11.61 MB / 0.7725 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/1.917, allocations: 0 / 0.7725 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/1.917, allocations: 3.844 kB / 0.7725 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.264e-05/1.917, allocations: 0 / 0.7725 GB, free: 7.293 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: 1471 * Number of variables: 1471 Notification: Performance of Generate backend data structure: time 0.02735/1.945, allocations: 8.657 MB / 0.781 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.945, allocations: 8.031 kB / 0.781 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008453/1.945, allocations: 0.5227 MB / 0.7815 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/1.948, allocations: 2.075 MB / 0.7835 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001789/1.95, allocations: 1.823 MB / 0.7853 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008079/1.951, allocations: 377 kB / 0.7857 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/1.97, allocations: 10.66 MB / 0.7961 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.77e-05/1.97, allocations: 7.984 kB / 0.7961 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005578/1.971, allocations: 141.9 kB / 0.7962 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/1.971, allocations: 174.8 kB / 0.7964 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02971/2, allocations: 14.09 MB / 0.8101 GB, free: 4.168 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.02954/2.03, allocations: 26.15 MB / 0.8357 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/2.051, allocations: 10.48 MB / 0.8459 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01597/2.067, allocations: 8.385 MB / 0.8541 GB, free: 5.934 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4806/2.548, allocations: 188.8 MB / 1.038 GB, free: 389.5 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/2.548, allocations: 99.48 kB / 1.039 GB, free: 389.4 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1151): time 7.985e-06/2.548, allocations: 0 / 1.039 GB, free: 389.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=1152): time 0.1343/2.682, allocations: 54.58 MB / 1.092 GB, free: 343.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/2.682, allocations: 115.9 kB / 1.092 GB, free: 343.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009067/2.683, allocations: 1.089 MB / 1.093 GB, free: 342 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004984/2.684, allocations: 121.7 kB / 1.093 GB, free: 341.9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/2.684, allocations: 0.7386 MB / 1.094 GB, free: 341.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/2.686, allocations: 3.804 MB / 1.098 GB, free: 337.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008204/2.687, allocations: 0.6951 MB / 1.098 GB, free: 336.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 2.97e-05/2.687, allocations: 305.1 kB / 1.099 GB, free: 336.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01346/2.7, allocations: 7.376 MB / 1.106 GB, free: 329 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0137/2.714, allocations: 8.192 MB / 1.114 GB, free: 320.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.027/2.741, allocations: 15.5 MB / 1.129 GB, free: 305 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/2.741, allocations: 4 kB / 1.129 GB, free: 305 MB / 0.795 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.03716/2.778, allocations: 20.75 MB / 1.149 GB, free: 284.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/2.778, allocations: 13.25 kB / 1.149 GB, free: 284.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.73e-05/2.778, allocations: 35.83 kB / 1.149 GB, free: 284.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04996/2.828, allocations: 23.94 MB / 1.173 GB, free: 260.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008536/2.837, allocations: 1.873 MB / 1.174 GB, free: 258.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02215/2.859, allocations: 16.06 MB / 1.19 GB, free: 242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007909/2.867, allocations: 1.413 MB / 1.192 GB, free: 240.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005575/2.867, allocations: 303.6 kB / 1.192 GB, free: 240.3 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 (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 (418): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,1), (1,16), (26,214)} Notification: Performance of prepare postOptimizeDAE: time 0.001996/2.869, allocations: 1.257 MB / 1.193 GB, free: 239.1 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/2.87, allocations: 410.6 kB / 1.193 GB, free: 238.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05696/2.927, allocations: 26.28 MB / 1.219 GB, free: 212.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05284/2.98, allocations: 23.52 MB / 1.242 GB, free: 188.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/2.98, allocations: 8 kB / 1.242 GB, free: 188.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/2.98, allocations: 46.03 kB / 1.242 GB, free: 188.6 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.07394/3.054, allocations: 39.15 MB / 1.28 GB, free: 148.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.757e-05/3.054, allocations: 27.92 kB / 1.28 GB, free: 148.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01557/3.069, allocations: 3.843 MB / 1.284 GB, free: 145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01332/3.083, allocations: 5.142 MB / 1.289 GB, free: 139.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000572/3.083, allocations: 303.6 kB / 1.289 GB, free: 139.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05485/3.138, allocations: 36.85 MB / 1.325 GB, free: 101 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/3.138, allocations: 7.938 kB / 1.325 GB, free: 101 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06984/3.208, allocations: 33.99 MB / 1.359 GB, free: 66.8 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/3.211, allocations: 1.649 MB / 1.36 GB, free: 65.13 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007387/3.211, allocations: 180 kB / 1.36 GB, free: 64.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007404/3.219, allocations: 1.443 MB / 1.362 GB, free: 63.51 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/3.22, allocations: 0.65 MB / 1.362 GB, free: 62.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005538/3.221, allocations: 327.7 kB / 1.363 GB, free: 62.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000681/3.221, allocations: 0.759 MB / 1.363 GB, free: 61.77 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/3.221, allocations: 0 / 1.363 GB, free: 61.77 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006317/3.228, allocations: 3.396 MB / 1.367 GB, free: 58.53 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 (805): * Single equations (assignments): 729 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * 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,3), (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)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004984/3.233, allocations: 2.5 MB / 1.369 GB, free: 56.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.03852/3.271, allocations: 22.4 MB / 1.391 GB, free: 33.33 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/3.271, allocations: 4 kB / 1.391 GB, free: 33.33 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01954/3.291, allocations: 13.7 MB / 1.404 GB, free: 19.12 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00885/3.3, allocations: 2.167 MB / 1.407 GB, free: 17.05 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2016/3.501, allocations: 31.03 MB / 1.437 GB, free: 404.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/3.504, allocations: 3.74 MB / 1.441 GB, free: 403.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00337/3.507, allocations: 0.6272 MB / 1.441 GB, free: 403.8 MB / 0.795 GB Notification: Performance of SimCode: time 7.32e-07/3.507, allocations: 4 kB / 1.441 GB, free: 403.7 MB / 0.795 GB Notification: Performance of Templates: time 0.4322/3.939, allocations: 452.9 MB / 1.883 GB, free: 372.3 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2.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.TestDynamicDrum2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicDrum2CalcHelperMain.o] Error 1