Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.24e-05/1.242e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 31.99 MB / 237.4 MB, free: 5.438 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.322/1.44, allocations: 293.5 MB / 0.5185 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03552/1.475, allocations: 37 MB / 0.5546 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/1.476, allocations: 0 / 0.5546 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/1.476, allocations: 79.61 kB / 0.5547 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/1.476, allocations: 91.28 kB / 0.5548 GB, free: 8.504 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01403/1.49, allocations: 7.3 MB / 0.5619 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/1.49, allocations: 326.4 kB / 0.5622 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/1.49, allocations: 101.5 kB / 0.5623 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/1.491, allocations: 115.4 kB / 0.5624 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/1.491, allocations: 95.45 kB / 0.5625 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/1.491, allocations: 8 kB / 0.5625 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02263/1.513, allocations: 17.81 MB / 0.5799 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/1.513, allocations: 35.78 kB / 0.5799 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/1.514, allocations: 149 kB / 0.5801 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005803/1.519, allocations: 5.609 MB / 0.5856 GB, free: 8.914 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/1.519, allocations: 0 / 0.5856 GB, free: 8.914 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.384e-06/1.519, allocations: 0 / 0.5856 GB, free: 8.914 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/1.519, allocations: 3.938 kB / 0.5856 GB, free: 8.91 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002386/1.522, allocations: 1.388 MB / 0.5869 GB, free: 7.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/1.522, allocations: 8.031 kB / 0.5869 GB, free: 7.465 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/1.522, allocations: 35.56 kB / 0.587 GB, free: 7.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/1.522, allocations: 231.7 kB / 0.5872 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/1.522, allocations: 12.44 kB / 0.5872 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/1.522, allocations: 20 kB / 0.5872 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/1.523, allocations: 295.4 kB / 0.5875 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/1.523, allocations: 11.88 kB / 0.5875 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.523, allocations: 7.984 kB / 0.5875 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/1.523, allocations: 12 kB / 0.5875 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/1.523, allocations: 165.1 kB / 0.5877 GB, free: 6.625 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.03262/1.555, allocations: 18.13 MB / 0.6054 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/1.556, allocations: 150.5 kB / 0.6055 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/1.556, allocations: 88.84 kB / 0.6056 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1368/1.693, allocations: 77.93 MB / 0.6817 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/1.693, allocations: 30.56 kB / 0.6817 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/1.693, allocations: 0 / 0.6817 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0008676/1.694, allocations: 453.8 kB / 0.6822 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/1.694, allocations: 55.41 kB / 0.6822 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/1.694, allocations: 215.1 kB / 0.6824 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.694, allocations: 29.7 kB / 0.6825 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/1.694, allocations: 148.5 kB / 0.6826 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/1.694, allocations: 114.3 kB / 0.6827 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/1.694, allocations: 37.64 kB / 0.6828 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/1.694, allocations: 334.8 kB / 0.6831 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/1.694, allocations: 71.97 kB / 0.6831 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/1.694, allocations: 108.3 kB / 0.6832 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/1.695, allocations: 212.6 kB / 0.6834 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.695, allocations: 4 kB / 0.6834 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003663/1.695, allocations: 301.5 kB / 0.6837 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.695, allocations: 7.938 kB / 0.6837 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.695, allocations: 8.125 kB / 0.6838 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008239/1.696, allocations: 184.7 kB / 0.6839 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.052e-05/1.696, allocations: 11.92 kB / 0.6839 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/1.696, allocations: 0.6311 MB / 0.6846 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.351e-05/1.696, allocations: 27.62 kB / 0.6846 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.696, allocations: 4 kB / 0.6846 GB, free: 8.582 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 (pipePressureLoss.C2.b,pipePressureLoss.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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.697, allocations: 142.7 kB / 0.6847 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/1.697, allocations: 19.72 kB / 0.6847 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/1.697, allocations: 0.5954 MB / 0.6853 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003087/1.698, allocations: 226.4 kB / 0.6855 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.698, allocations: 11.94 kB / 0.6855 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.698, allocations: 0 / 0.6855 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/1.698, allocations: 0.7383 MB / 0.6863 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.698, allocations: 2.25 kB / 0.6863 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/1.698, allocations: 15.94 kB / 0.6863 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/1.699, allocations: 145.7 kB / 0.6864 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/1.699, allocations: 0 / 0.6864 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003869/1.699, allocations: 0.6548 MB / 0.6871 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.699, allocations: 0 / 0.6871 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/1.7, allocations: 357 kB / 0.6874 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/1.7, allocations: 128.7 kB / 0.6875 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/1.7, allocations: 8 kB / 0.6875 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/1.7, allocations: 0 / 0.6875 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/1.7, allocations: 7.984 kB / 0.6875 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/1.7, allocations: 8 kB / 0.6876 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002004/1.7, allocations: 237.9 kB / 0.6878 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.7, allocations: 0 / 0.6878 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00208/1.702, allocations: 1.191 MB / 0.6889 GB, free: 3.914 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003628/1.706, allocations: 1.765 MB / 0.6907 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003909/1.706, allocations: 238.2 kB / 0.6909 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.706, allocations: 0 / 0.6909 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/1.707, allocations: 83.97 kB / 0.691 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/1.707, allocations: 123.6 kB / 0.6911 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/1.708, allocations: 0.6661 MB / 0.6917 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/1.708, allocations: 0.7713 MB / 0.6925 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/1.708, allocations: 23.44 kB / 0.6925 GB, free: 192 kB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/1.708, allocations: 0 / 0.6925 GB, free: 192 kB / 0.5762 GB Notification: Performance of Templates: time 0.155/1.863, allocations: 24.31 MB / 0.7163 GB, free: 221.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLossCalcHelperMain.o] Error 1