Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6825/0.6825, allocations: 150.8 MB / 166.7 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.318e-06/9.317e-06, allocations: 0 / 205.4 MB, free: 9.789 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 31.98 MB / 237.4 MB, free: 5.324 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.301/1.421, allocations: 293.6 MB / 0.5185 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1633/1.585, allocations: 188.8 MB / 0.7029 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/1.585, allocations: 7.938 kB / 0.7029 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.284e-05/1.585, allocations: 23.78 kB / 0.703 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2273/1.812, allocations: 97.86 kB / 0.7031 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02144/1.834, allocations: 9.509 MB / 0.7123 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003738/1.834, allocations: 384.5 kB / 0.7127 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/1.834, allocations: 162.6 kB / 0.7129 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/1.834, allocations: 132.2 kB / 0.713 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/1.834, allocations: 145.3 kB / 0.7131 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/1.835, allocations: 13.03 kB / 0.7131 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02661/1.861, allocations: 21.12 MB / 0.7338 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/1.861, allocations: 50.36 kB / 0.7338 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/1.861, allocations: 188.6 kB / 0.734 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00724/1.869, allocations: 7.098 MB / 0.7409 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/1.869, allocations: 0 / 0.7409 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/1.869, allocations: 0 / 0.7409 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.869, allocations: 0 / 0.7409 GB, free: 0.7734 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.003742/1.872, allocations: 1.803 MB / 0.7427 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/1.872, allocations: 8.031 kB / 0.7427 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/1.872, allocations: 39.5 kB / 0.7427 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/1.873, allocations: 286.6 kB / 0.743 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/1.873, allocations: 30.19 kB / 0.743 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/1.873, allocations: 30.53 kB / 0.7431 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/1.873, allocations: 389.9 kB / 0.7434 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.873, allocations: 0 / 0.7434 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/1.873, allocations: 17.31 kB / 0.7435 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.873, allocations: 10.22 kB / 0.7435 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/1.874, allocations: 250.1 kB / 0.7437 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007091/1.881, allocations: 6.173 MB / 0.7497 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/1.881, allocations: 82.59 kB / 0.7498 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/1.881, allocations: 30.67 kB / 0.7498 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2749/2.156, allocations: 156 MB / 0.9022 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/2.156, allocations: 34.56 kB / 0.9023 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/2.156, allocations: 0 / 0.9023 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0006429/2.157, allocations: 251.8 kB / 0.9025 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/2.157, allocations: 81.11 kB / 0.9026 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/2.157, allocations: 290.2 kB / 0.9029 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/2.157, allocations: 25.7 kB / 0.9029 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/2.157, allocations: 233.2 kB / 0.9031 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/2.157, allocations: 30.95 kB / 0.9031 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/2.157, allocations: 29.08 kB / 0.9032 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001046/2.157, allocations: 337.9 kB / 0.9035 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/2.157, allocations: 43.2 kB / 0.9035 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/2.158, allocations: 160.5 kB / 0.9037 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/2.158, allocations: 212.8 kB / 0.9039 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/2.158, allocations: 0 / 0.9039 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004484/2.158, allocations: 286 kB / 0.9041 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/2.158, allocations: 4 kB / 0.9042 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/2.158, allocations: 6.906 kB / 0.9042 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000876/2.159, allocations: 132.1 kB / 0.9043 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/2.159, allocations: 38.89 kB / 0.9043 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003864/2.16, allocations: 0.5733 MB / 0.9049 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/2.16, allocations: 35.16 kB / 0.9049 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/2.16, allocations: 15.81 kB / 0.9049 GB, free: 6.035 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.0001221/2.16, allocations: 150.5 kB / 0.9051 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/2.16, allocations: 23.72 kB / 0.9051 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/2.161, allocations: 177 kB / 0.9053 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/2.161, allocations: 4 kB / 0.9053 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/2.161, allocations: 0 / 0.9053 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/2.161, allocations: 4 kB / 0.9053 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/2.161, allocations: 312 kB / 0.9056 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/2.161, allocations: 0 / 0.9056 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/2.161, allocations: 4 kB / 0.9056 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006262/2.162, allocations: 100.5 kB / 0.9057 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/2.162, allocations: 11.55 kB / 0.9057 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003417/2.162, allocations: 0.5596 MB / 0.9062 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/2.162, allocations: 0 / 0.9062 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/2.162, allocations: 167.1 kB / 0.9064 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/2.162, allocations: 109.9 kB / 0.9065 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/2.163, allocations: 4 kB / 0.9065 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/2.163, allocations: 3.984 kB / 0.9065 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/2.163, allocations: 7.625 kB / 0.9065 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/2.163, allocations: 0 / 0.9065 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001747/2.163, allocations: 214.8 kB / 0.9067 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/2.163, allocations: 0 / 0.9067 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002931/2.166, allocations: 1.599 MB / 0.9083 GB, free: 2.789 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.005747/2.172, allocations: 2.535 MB / 0.9107 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003276/2.172, allocations: 135.4 kB / 0.9109 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/2.172, allocations: 0 / 0.9109 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/2.172, allocations: 35.36 kB / 0.9109 GB, free: 492 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/2.172, allocations: 69.11 kB / 0.911 GB, free: 440 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/2.173, allocations: 0.6174 MB / 0.9116 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/2.173, allocations: 0.7635 MB / 0.9123 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/2.173, allocations: 27.44 kB / 0.9124 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of SimCode: time 2e-07/2.173, allocations: 0 / 0.9124 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of Templates: time 0.03326/2.207, allocations: 30.45 MB / 0.9421 GB, free: 0.6562 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.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.Book.SimpleExamples.PressureLoss.TestDiaphragmCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragmCalcHelperMain.o] Error 1