Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6922/0.6922, allocations: 150.8 MB / 166.7 MB, free: 15.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.344e-05/1.351e-05, allocations: 4 kB / 205.4 MB, free: 9.793 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 31.99 MB / 237.4 MB, free: 5.281 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.TestSteamDryer2): time 1.323/1.441, allocations: 294.6 MB / 0.5195 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03433/1.475, allocations: 34.86 MB / 0.5535 GB, free: 9.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/1.476, allocations: 4 kB / 0.5535 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/1.476, allocations: 131.2 kB / 0.5536 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/1.476, allocations: 158.8 kB / 0.5538 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01327/1.489, allocations: 6.725 MB / 0.5604 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/1.49, allocations: 0.5908 MB / 0.5609 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/1.49, allocations: 231.9 kB / 0.5612 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/1.491, allocations: 199 kB / 0.5614 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/1.491, allocations: 194.9 kB / 0.5615 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/1.491, allocations: 20 kB / 0.5616 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02091/1.512, allocations: 15.83 MB / 0.577 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/1.512, allocations: 63.64 kB / 0.5771 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/1.512, allocations: 268.3 kB / 0.5773 GB, free: 1.328 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005618/1.518, allocations: 5.469 MB / 0.5827 GB, free: 11.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/1.518, allocations: 0 / 0.5827 GB, free: 11.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.233e-06/1.518, allocations: 4 kB / 0.5827 GB, free: 11.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/1.518, allocations: 0 / 0.5827 GB, free: 11.84 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.003187/1.521, allocations: 1.503 MB / 0.5842 GB, free: 10.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/1.521, allocations: 8.031 kB / 0.5842 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/1.521, allocations: 63.19 kB / 0.5842 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/1.521, allocations: 298.6 kB / 0.5845 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/1.521, allocations: 37 kB / 0.5845 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/1.521, allocations: 44 kB / 0.5846 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/1.522, allocations: 0.5923 MB / 0.5852 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.522, allocations: 0 / 0.5852 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/1.522, allocations: 20 kB / 0.5852 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/1.522, allocations: 27.92 kB / 0.5852 GB, free: 9.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/1.523, allocations: 359.9 kB / 0.5855 GB, free: 8.77 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.002246/1.525, allocations: 3.522 MB / 0.589 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/1.526, allocations: 279.2 kB / 0.5893 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/1.526, allocations: 185.9 kB / 0.5894 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1456/1.671, allocations: 81.16 MB / 0.6687 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.671, allocations: 46.5 kB / 0.6687 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.245e-06/1.671, allocations: 0 / 0.6687 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002594/1.674, allocations: 1.219 MB / 0.6699 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.674, allocations: 77.11 kB / 0.67 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/1.674, allocations: 298.8 kB / 0.6703 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.674, allocations: 25.7 kB / 0.6703 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/1.674, allocations: 220.8 kB / 0.6705 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.675, allocations: 224.5 kB / 0.6707 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/1.675, allocations: 57.69 kB / 0.6708 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.675, allocations: 354.8 kB / 0.6711 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/1.675, allocations: 124.6 kB / 0.6712 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/1.675, allocations: 243.9 kB / 0.6715 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/1.676, allocations: 427.7 kB / 0.6719 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.676, allocations: 0 / 0.6719 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009891/1.677, allocations: 0.6693 MB / 0.6725 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.677, allocations: 8 kB / 0.6725 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.677, allocations: 4 kB / 0.6726 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.678, allocations: 0.7774 MB / 0.6733 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.031e-05/1.678, allocations: 15.92 kB / 0.6733 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/1.679, allocations: 2.128 MB / 0.6754 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/1.68, allocations: 51.33 kB / 0.6755 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/1.68, allocations: 23.97 kB / 0.6755 GB, free: 3.078 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamDryer.Csl.b,steamDryer.Csv.b,steamDryer.Cev.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001617/1.68, allocations: 174.4 kB / 0.6756 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/1.68, allocations: 35.53 kB / 0.6757 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/1.681, allocations: 1.186 MB / 0.6768 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001093/1.682, allocations: 0.8732 MB / 0.6777 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.682, allocations: 0 / 0.6777 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.682, allocations: 3.938 kB / 0.6777 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/1.685, allocations: 1.987 MB / 0.6796 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.685, allocations: 4 kB / 0.6796 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/1.685, allocations: 67.91 kB / 0.6797 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000994/1.686, allocations: 0.8078 MB / 0.6805 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/1.686, allocations: 23.92 kB / 0.6805 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/1.687, allocations: 2.194 MB / 0.6827 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.687, allocations: 0 / 0.6827 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.689, allocations: 1.021 MB / 0.6837 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/1.689, allocations: 176.1 kB / 0.6838 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/1.689, allocations: 15.94 kB / 0.6838 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/1.689, allocations: 19.84 kB / 0.6839 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/1.689, allocations: 36.5 kB / 0.6839 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/1.689, allocations: 16 kB / 0.6839 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001469/1.689, allocations: 197.9 kB / 0.6841 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.689, allocations: 4 kB / 0.6841 GB, free: 10 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002077/1.691, allocations: 1.151 MB / 0.6852 GB, free: 8.852 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003482/1.695, allocations: 1.651 MB / 0.6868 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001187/1.696, allocations: 0.7641 MB / 0.6876 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.696, allocations: 0 / 0.6876 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/1.697, allocations: 451.1 kB / 0.688 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/1.698, allocations: 227.1 kB / 0.6882 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.699, allocations: 1.472 MB / 0.6897 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/1.7, allocations: 0.9125 MB / 0.6906 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/1.7, allocations: 35.44 kB / 0.6906 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/1.7, allocations: 0 / 0.6906 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of Templates: time 0.161/1.861, allocations: 31.85 MB / 0.7217 GB, free: 217.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2CalcHelperMain.o] Error 1