Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.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.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6824/0.6824, allocations: 150.8 MB / 166.7 MB, free: 15.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.335e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 31.97 MB / 237.4 MB, free: 5.426 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.TestStodolaTurbine2): time 1.308/1.425, allocations: 294.1 MB / 0.519 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04514/1.47, allocations: 47.81 MB / 0.5657 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/1.47, allocations: 4 kB / 0.5657 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/1.471, allocations: 131.3 kB / 0.5658 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/1.471, allocations: 131.1 kB / 0.5659 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01982/1.491, allocations: 9.77 MB / 0.5755 GB, free: 3.316 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004681/1.491, allocations: 0.5016 MB / 0.576 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/1.491, allocations: 136.3 kB / 0.5761 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/1.492, allocations: 179.1 kB / 0.5763 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/1.492, allocations: 147.2 kB / 0.5764 GB, free: 2.363 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/1.492, allocations: 12 kB / 0.5764 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03032/1.522, allocations: 23.9 MB / 0.5998 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/1.522, allocations: 47.72 kB / 0.5998 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/1.523, allocations: 208.7 kB / 0.6 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008171/1.531, allocations: 7.429 MB / 0.6073 GB, free: 2.711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/1.531, allocations: 0 / 0.6073 GB, free: 2.711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/1.531, allocations: 0 / 0.6073 GB, free: 2.711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/1.531, allocations: 4 kB / 0.6073 GB, free: 2.707 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004309/1.535, allocations: 1.868 MB / 0.6091 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/1.535, allocations: 8.031 kB / 0.6091 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/1.535, allocations: 43.53 kB / 0.6091 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/1.535, allocations: 254.3 kB / 0.6094 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/1.535, allocations: 87.89 kB / 0.6095 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/1.536, allocations: 24 kB / 0.6095 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/1.536, allocations: 456.5 kB / 0.6099 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.536, allocations: 0 / 0.6099 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/1.536, allocations: 8 kB / 0.6099 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/1.536, allocations: 23.98 kB / 0.6099 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/1.537, allocations: 330 kB / 0.6103 GB, free: 15.49 MB / 0.4981 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.01722/1.554, allocations: 10.27 MB / 0.6203 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/1.554, allocations: 263 kB / 0.6205 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/1.555, allocations: 193.9 kB / 0.6207 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3056/1.86, allocations: 110 MB / 0.7281 GB, free: 200 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/1.86, allocations: 38.31 kB / 0.7282 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 1.924e-06/1.86, allocations: 0 / 0.7282 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.001746/1.862, allocations: 1.005 MB / 0.7292 GB, free: 199.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/1.862, allocations: 52.62 kB / 0.7292 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/1.862, allocations: 247.5 kB / 0.7294 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/1.862, allocations: 27.77 kB / 0.7295 GB, free: 199.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/1.862, allocations: 162.8 kB / 0.7296 GB, free: 199.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/1.862, allocations: 209.1 kB / 0.7298 GB, free: 199.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/1.862, allocations: 45.69 kB / 0.7299 GB, free: 199.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/1.863, allocations: 345.9 kB / 0.7302 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/1.863, allocations: 152.8 kB / 0.7303 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/1.863, allocations: 231.9 kB / 0.7306 GB, free: 198.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/1.863, allocations: 416.4 kB / 0.731 GB, free: 198.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.864, allocations: 4 kB / 0.731 GB, free: 198.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008598/1.864, allocations: 0.5824 MB / 0.7315 GB, free: 198.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.864, allocations: 5 kB / 0.7315 GB, free: 198.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.864, allocations: 1.812 kB / 0.7315 GB, free: 198.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/1.865, allocations: 268.3 kB / 0.7318 GB, free: 198.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/1.865, allocations: 28.06 kB / 0.7318 GB, free: 198.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006466/1.866, allocations: 1.284 MB / 0.7331 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/1.866, allocations: 57.72 kB / 0.7331 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/1.866, allocations: 11.55 kB / 0.7331 GB, free: 197.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.866, allocations: 153 kB / 0.7333 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/1.866, allocations: 35.19 kB / 0.7333 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.867, allocations: 1.092 MB / 0.7344 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007281/1.868, allocations: 0.5839 MB / 0.735 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.868, allocations: 0 / 0.735 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.868, allocations: 2.156 kB / 0.735 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/1.87, allocations: 1.74 MB / 0.7367 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.87, allocations: 3.938 kB / 0.7367 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/1.87, allocations: 87.27 kB / 0.7367 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/1.87, allocations: 281.7 kB / 0.737 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/1.87, allocations: 15.25 kB / 0.737 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005806/1.871, allocations: 1.299 MB / 0.7383 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.871, allocations: 7.906 kB / 0.7383 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/1.872, allocations: 0.8923 MB / 0.7392 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/1.872, allocations: 170.3 kB / 0.7393 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/1.872, allocations: 13.88 kB / 0.7393 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/1.872, allocations: 37.55 kB / 0.7394 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/1.872, allocations: 48.11 kB / 0.7394 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/1.872, allocations: 16.62 kB / 0.7394 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002096/1.873, allocations: 315 kB / 0.7397 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.873, allocations: 0 / 0.7397 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00287/1.876, allocations: 1.803 MB / 0.7415 GB, free: 194.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005008/1.881, allocations: 2.597 MB / 0.744 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007657/1.881, allocations: 0.6295 MB / 0.7447 GB, free: 194.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.881, allocations: 0 / 0.7447 GB, free: 194.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004029/1.882, allocations: 297 kB / 0.7449 GB, free: 194.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.883, allocations: 248.7 kB / 0.7452 GB, free: 194.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/1.885, allocations: 1.521 MB / 0.7467 GB, free: 193.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/1.885, allocations: 0.8649 MB / 0.7475 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/1.885, allocations: 38.5 kB / 0.7475 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/1.885, allocations: 0 / 0.7475 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.03223/1.917, allocations: 39.69 MB / 0.7863 GB, free: 154.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.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.TestStodolaTurbine2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2CalcHelperMain.o] Error 1