Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6866/0.6866, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.254e-05/1.256e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 31.98 MB / 237.4 MB, free: 5.621 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.TestSingularPressureLoss): time 1.295/1.412, allocations: 293.5 MB / 0.5185 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03532/1.447, allocations: 36.98 MB / 0.5546 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/1.447, allocations: 0 / 0.5546 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/1.448, allocations: 79.61 kB / 0.5547 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/1.448, allocations: 75.38 kB / 0.5548 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01465/1.462, allocations: 7.305 MB / 0.5619 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/1.463, allocations: 310.5 kB / 0.5622 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/1.463, allocations: 100.1 kB / 0.5623 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/1.463, allocations: 107.4 kB / 0.5624 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/1.463, allocations: 91.45 kB / 0.5625 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/1.463, allocations: 8 kB / 0.5625 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02196/1.485, allocations: 17.8 MB / 0.5799 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/1.485, allocations: 35.8 kB / 0.5799 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/1.485, allocations: 137.1 kB / 0.58 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005775/1.491, allocations: 5.598 MB / 0.5855 GB, free: 9.227 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/1.491, allocations: 0 / 0.5855 GB, free: 9.227 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/1.491, allocations: 4 kB / 0.5855 GB, free: 9.223 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/1.491, allocations: 4 kB / 0.5855 GB, free: 9.219 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0024/1.493, allocations: 1.377 MB / 0.5869 GB, free: 7.793 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/1.494, allocations: 11.97 kB / 0.5869 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/1.494, allocations: 31.56 kB / 0.5869 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/1.494, allocations: 226.6 kB / 0.5871 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/1.494, allocations: 17.89 kB / 0.5871 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/1.494, allocations: 16 kB / 0.5872 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/1.494, allocations: 290.7 kB / 0.5874 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.494, allocations: 3.938 kB / 0.5874 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/1.494, allocations: 12 kB / 0.5874 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/1.494, allocations: 11.98 kB / 0.5875 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/1.494, allocations: 160.8 kB / 0.5876 GB, free: 6.961 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.03294/1.527, allocations: 18.13 MB / 0.6053 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/1.528, allocations: 122.5 kB / 0.6054 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/1.528, allocations: 76.91 kB / 0.6055 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1356/1.663, allocations: 77.94 MB / 0.6816 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/1.664, allocations: 30.56 kB / 0.6816 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/1.664, allocations: 0 / 0.6816 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.0007034/1.664, allocations: 416.2 kB / 0.682 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/1.664, allocations: 51.41 kB / 0.6821 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/1.664, allocations: 215.7 kB / 0.6823 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/1.664, allocations: 25.7 kB / 0.6823 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/1.665, allocations: 144.5 kB / 0.6825 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/1.665, allocations: 98.45 kB / 0.6825 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/1.665, allocations: 33.7 kB / 0.6826 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.665, allocations: 338.8 kB / 0.6829 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/1.665, allocations: 72.3 kB / 0.683 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/1.665, allocations: 106.2 kB / 0.6831 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/1.665, allocations: 201.5 kB / 0.6833 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.665, allocations: 4 kB / 0.6833 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003427/1.666, allocations: 281.8 kB / 0.6835 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.666, allocations: 4 kB / 0.6835 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.666, allocations: 0 / 0.6835 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007598/1.666, allocations: 172.8 kB / 0.6837 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/1.666, allocations: 11.94 kB / 0.6837 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004109/1.667, allocations: 0.6122 MB / 0.6843 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.099e-05/1.667, allocations: 27.72 kB / 0.6843 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/1.667, allocations: 12.06 kB / 0.6844 GB, free: 9.09 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (singularPressureLoss.C2.b,singularPressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.667, allocations: 142.1 kB / 0.6845 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/1.667, allocations: 23.66 kB / 0.6845 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/1.668, allocations: 0.5681 MB / 0.6851 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002774/1.668, allocations: 202.3 kB / 0.6853 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.668, allocations: 0 / 0.6853 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.668, allocations: 7.984 kB / 0.6853 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/1.669, allocations: 0.6762 MB / 0.6859 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.669, allocations: 0 / 0.6859 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/1.669, allocations: 19.92 kB / 0.6859 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004115/1.669, allocations: 136.8 kB / 0.6861 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.669, allocations: 4 kB / 0.6861 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003654/1.669, allocations: 0.6309 MB / 0.6867 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.67, allocations: 0 / 0.6867 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/1.67, allocations: 306.8 kB / 0.687 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.654e-05/1.67, allocations: 136.7 kB / 0.6871 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/1.67, allocations: 0 / 0.6871 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/1.67, allocations: 11.91 kB / 0.6871 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/1.67, allocations: 7.984 kB / 0.6871 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/1.67, allocations: 0 / 0.6871 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001926/1.67, allocations: 234 kB / 0.6874 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.67, allocations: 4 kB / 0.6874 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002054/1.672, allocations: 1.179 MB / 0.6885 GB, free: 4.617 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003605/1.676, allocations: 1.763 MB / 0.6902 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000394/1.676, allocations: 221.5 kB / 0.6905 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/1.676, allocations: 0 / 0.6905 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/1.677, allocations: 91.77 kB / 0.6905 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/1.677, allocations: 120.8 kB / 0.6907 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/1.678, allocations: 0.6338 MB / 0.6913 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/1.678, allocations: 0.7597 MB / 0.692 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/1.678, allocations: 19.44 kB / 0.692 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/1.678, allocations: 0 / 0.692 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of Templates: time 0.1533/1.832, allocations: 24.2 MB / 0.7157 GB, free: 222.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLossCalcHelperMain.o] Error 1