Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.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.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.683/0.683, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.336e-05/1.342e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 31.98 MB / 237.4 MB, free: 5.434 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.TestStaticDrum1): time 1.312/1.431, allocations: 295.8 MB / 0.5207 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03348/1.465, allocations: 35.19 MB / 0.5551 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/1.465, allocations: 8 kB / 0.5551 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/1.465, allocations: 175 kB / 0.5553 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/1.466, allocations: 254 kB / 0.5555 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0134/1.479, allocations: 6.838 MB / 0.5622 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008418/1.48, allocations: 1.034 MB / 0.5632 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/1.48, allocations: 390.9 kB / 0.5636 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/1.481, allocations: 330.4 kB / 0.5639 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/1.481, allocations: 334.1 kB / 0.5642 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/1.481, allocations: 35.94 kB / 0.5642 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01996/1.501, allocations: 15.85 MB / 0.5797 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/1.501, allocations: 119.4 kB / 0.5798 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/1.502, allocations: 427.4 kB / 0.5802 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005672/1.507, allocations: 5.753 MB / 0.5859 GB, free: 8.602 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.507, allocations: 4 kB / 0.5859 GB, free: 8.598 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/1.507, allocations: 0 / 0.5859 GB, free: 8.598 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/1.507, allocations: 0 / 0.5859 GB, free: 8.598 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.002829/1.51, allocations: 1.743 MB / 0.5876 GB, free: 6.801 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/1.51, allocations: 8.031 kB / 0.5876 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/1.51, allocations: 102.7 kB / 0.5877 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/1.511, allocations: 396.5 kB / 0.588 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/1.511, allocations: 66 kB / 0.5881 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.117e-05/1.511, allocations: 77.12 kB / 0.5882 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.512, allocations: 1.021 MB / 0.5892 GB, free: 4.988 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.512, allocations: 7.938 kB / 0.5892 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/1.512, allocations: 36 kB / 0.5892 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/1.512, allocations: 43.91 kB / 0.5893 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/1.513, allocations: 0.5677 MB / 0.5898 GB, free: 4.328 MB / 478.1 MB 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.00411/1.517, allocations: 6.588 MB / 0.5963 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/1.518, allocations: 372.1 kB / 0.5966 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/1.518, allocations: 202.1 kB / 0.5968 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1427/1.661, allocations: 81.17 MB / 0.6761 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.661, allocations: 42.55 kB / 0.6761 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.014e-06/1.661, allocations: 0 / 0.6761 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002503/1.663, allocations: 1.22 MB / 0.6773 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/1.663, allocations: 55.27 kB / 0.6774 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/1.664, allocations: 0.4938 MB / 0.6778 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/1.664, allocations: 33.7 kB / 0.6779 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/1.664, allocations: 363.6 kB / 0.6782 GB, free: 192 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/1.664, allocations: 272 kB / 0.6785 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/1.664, allocations: 93.66 kB / 0.6786 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.664, allocations: 378.7 kB / 0.6789 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/1.665, allocations: 165.5 kB / 0.6791 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/1.665, allocations: 452.2 kB / 0.6795 GB, free: 14.7 MB / 0.5762 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.002396/1.668, allocations: 1.502 MB / 0.681 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/1.668, allocations: 3.984 kB / 0.681 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001313/1.669, allocations: 0.8917 MB / 0.6819 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.669, allocations: 8 kB / 0.6819 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.669, allocations: 12.31 kB / 0.6819 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009328/1.67, allocations: 0.6412 MB / 0.6825 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/1.67, allocations: 99.72 kB / 0.6826 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/1.672, allocations: 2.026 MB / 0.6846 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/1.672, allocations: 110.6 kB / 0.6847 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/1.672, allocations: 32 kB / 0.6847 GB, free: 9.145 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: sensorT.h = $START.sensorT.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 30 (sourcePlug.C.b,refQ.C2.b,refQ.C1.a,refP.C2.b,refP.C1.a,sensorT1.C2.b,sensorT1.C1.a,sinkP2.C.a,singularPressureLossVALI3.C2.b,singularPressureLossVALI3.C1.a,sensorT.C2.b,sensorT.C1.a,sinkP1.C.a,singularPressureLossVALI2.C2.b,singularPressureLossVALI2.C1.a,singularPressureLossVALI1.C2.b,singularPressureLossVALI1.C1.a,StaticDrumTh1.Ce_sup.a,StaticDrumTh1.Ce_steam.a,StaticDrumTh1.Cs_purg.b,StaticDrumTh1.Cs_sur.b,StaticDrumTh1.Cs_eva.b,StaticDrumTh1.Cs_sup.b,StaticDrumTh1.Ce_eco.a,StaticDrumTh1.Ce_eva.a,StaticDrumTh1.Cs_sup.a,StaticDrumTh1.Cs_eva.a,StaticDrumTh1.Ce_eva.b,StaticDrumTh1.Ce_sup.b,StaticDrumTh1.Ce_steam.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002412/1.672, allocations: 225.7 kB / 0.6849 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/1.672, allocations: 59.25 kB / 0.685 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/1.674, allocations: 1.178 MB / 0.6861 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001041/1.675, allocations: 0.8905 MB / 0.687 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.675, allocations: 4 kB / 0.687 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.675, allocations: 3.984 kB / 0.687 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/1.677, allocations: 2.237 MB / 0.6892 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.677, allocations: 0 / 0.6892 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/1.678, allocations: 127.8 kB / 0.6893 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008641/1.679, allocations: 0.6544 MB / 0.69 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/1.679, allocations: 20 kB / 0.69 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/1.68, allocations: 2.037 MB / 0.692 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.68, allocations: 0 / 0.692 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.681, allocations: 1.055 MB / 0.693 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/1.681, allocations: 211.7 kB / 0.6932 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/1.681, allocations: 16.06 kB / 0.6932 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/1.682, allocations: 31.77 kB / 0.6932 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/1.682, allocations: 48.53 kB / 0.6933 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/1.682, allocations: 16 kB / 0.6933 GB, free: 112 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.1369/1.819, allocations: 326.2 kB / 0.6936 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.71e-07/1.819, allocations: 0 / 0.6936 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002694/1.821, allocations: 1.237 MB / 0.6948 GB, free: 226.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00426/1.826, allocations: 1.631 MB / 0.6964 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.827, allocations: 0.9494 MB / 0.6973 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.827, allocations: 5.344 kB / 0.6974 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/1.828, allocations: 480.1 kB / 0.6978 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.829, allocations: 284.9 kB / 0.6981 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/1.831, allocations: 2.028 MB / 0.7001 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/1.831, allocations: 1.026 MB / 0.7011 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/1.831, allocations: 52.48 kB / 0.7011 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/1.831, allocations: 0 / 0.7011 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03185/1.863, allocations: 39.29 MB / 0.7395 GB, free: 206 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1CalcHelperMain.o] Error 1