Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7452/0.7452, allocations: 150.8 MB / 166.7 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.287e-05/1.29e-05, allocations: 4 kB / 205.4 MB, free: 9.805 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1354, allocations: 31.99 MB / 237.4 MB, free: 5.461 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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.446/1.582, allocations: 293.6 MB / 0.5186 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1777/1.759, allocations: 188.8 MB / 0.703 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/1.76, allocations: 7.938 kB / 0.703 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.924e-05/1.76, allocations: 23.78 kB / 0.703 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2573/2.017, allocations: 98.59 kB / 0.7031 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0248/2.042, allocations: 9.515 MB / 0.7124 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004599/2.042, allocations: 383 kB / 0.7128 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/2.042, allocations: 169.5 kB / 0.7129 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/2.043, allocations: 129.4 kB / 0.7131 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/2.043, allocations: 142.6 kB / 0.7132 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/2.043, allocations: 13.69 kB / 0.7132 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0329/2.076, allocations: 21.12 MB / 0.7338 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/2.076, allocations: 51.56 kB / 0.7339 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/2.076, allocations: 182.1 kB / 0.7341 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009864/2.086, allocations: 7.108 MB / 0.741 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/2.086, allocations: 3.125 kB / 0.741 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/2.086, allocations: 0 / 0.741 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.092e-06/2.086, allocations: 2.875 kB / 0.741 GB, free: 0.7773 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00369/2.09, allocations: 1.789 MB / 0.7428 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/2.09, allocations: 7.75 kB / 0.7428 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/2.09, allocations: 43.19 kB / 0.7428 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/2.09, allocations: 285.1 kB / 0.7431 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/2.09, allocations: 30.56 kB / 0.7431 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/2.09, allocations: 34.19 kB / 0.7431 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/2.091, allocations: 384.5 kB / 0.7435 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/2.091, allocations: 0 / 0.7435 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/2.091, allocations: 18.06 kB / 0.7435 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/2.091, allocations: 8.625 kB / 0.7435 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/2.091, allocations: 246.8 kB / 0.7438 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007215/2.098, allocations: 6.175 MB / 0.7498 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/2.099, allocations: 90.06 kB / 0.7499 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/2.099, allocations: 23.8 kB / 0.7499 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2868/2.385, allocations: 156 MB / 0.9023 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/2.385, allocations: 38.38 kB / 0.9023 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 3.096e-06/2.385, allocations: 3.984 kB / 0.9023 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0007019/2.386, allocations: 262.5 kB / 0.9026 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/2.386, allocations: 77.11 kB / 0.9026 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/2.387, allocations: 282.4 kB / 0.9029 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/2.387, allocations: 29.27 kB / 0.9029 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/2.387, allocations: 232.8 kB / 0.9032 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/2.387, allocations: 30.25 kB / 0.9032 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/2.387, allocations: 39.8 kB / 0.9032 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/2.387, allocations: 330 kB / 0.9035 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/2.387, allocations: 51.19 kB / 0.9036 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/2.387, allocations: 159.5 kB / 0.9037 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/2.387, allocations: 212 kB / 0.904 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/2.387, allocations: 0 / 0.904 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000455/2.388, allocations: 281.2 kB / 0.9042 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/2.388, allocations: 5.859 kB / 0.9042 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/2.388, allocations: 4 kB / 0.9042 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008954/2.389, allocations: 128.5 kB / 0.9044 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/2.389, allocations: 46.64 kB / 0.9044 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003995/2.389, allocations: 0.5653 MB / 0.9049 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/2.39, allocations: 39.27 kB / 0.905 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/2.39, allocations: 12 kB / 0.905 GB, free: 6.043 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001403/2.39, allocations: 152.3 kB / 0.9051 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/2.39, allocations: 23.72 kB / 0.9052 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/2.39, allocations: 183.2 kB / 0.9053 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/2.39, allocations: 0 / 0.9053 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/2.39, allocations: 0 / 0.9053 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/2.39, allocations: 4 kB / 0.9053 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/2.391, allocations: 305.3 kB / 0.9056 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/2.391, allocations: 0 / 0.9056 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/2.391, allocations: 7.984 kB / 0.9056 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000656/2.391, allocations: 110 kB / 0.9057 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/2.391, allocations: 4 kB / 0.9058 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003756/2.392, allocations: 0.561 MB / 0.9063 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/2.392, allocations: 4.031 kB / 0.9063 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/2.392, allocations: 169.7 kB / 0.9065 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/2.392, allocations: 108.6 kB / 0.9066 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/2.392, allocations: 3.562 kB / 0.9066 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/2.392, allocations: 0 / 0.9066 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/2.392, allocations: 7.984 kB / 0.9066 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/2.392, allocations: 4 kB / 0.9066 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001936/2.393, allocations: 210.6 kB / 0.9068 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/2.393, allocations: 0 / 0.9068 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003853/2.397, allocations: 1.599 MB / 0.9083 GB, free: 2.797 MB / 0.7481 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 (4): * Single equations (assignments): 3 * 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.006259/2.403, allocations: 2.537 MB / 0.9108 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004133/2.403, allocations: 137.6 kB / 0.911 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.403, allocations: 0 / 0.911 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/2.403, allocations: 35.36 kB / 0.911 GB, free: 496 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/2.404, allocations: 64.2 kB / 0.911 GB, free: 448 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/2.405, allocations: 0.6134 MB / 0.9116 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/2.405, allocations: 0.7597 MB / 0.9124 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/2.405, allocations: 35.11 kB / 0.9124 GB, free: 15 MB / 0.7637 GB Notification: Performance of SimCode: time 2.2e-07/2.405, allocations: 2.906 kB / 0.9124 GB, free: 15 MB / 0.7637 GB Notification: Performance of Templates: time 0.04059/2.446, allocations: 30.45 MB / 0.9422 GB, free: 0.6602 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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.Fluid.Examples.SimpleExamples.TestDiaphragmCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragmCalcHelperMain.o] Error 1