Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 150.8 MB / 166.7 MB, free: 15.2 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.263e-05/1.265e-05, allocations: 4 kB / 205.4 MB, free: 9.68 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 31.98 MB / 237.4 MB, free: 5.484 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.TestPipePressureLoss): time 1.32/1.441, allocations: 293.6 MB / 0.5186 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03685/1.478, allocations: 36.99 MB / 0.5547 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/1.478, allocations: 8 kB / 0.5547 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/1.479, allocations: 79.61 kB / 0.5548 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/1.479, allocations: 79.38 kB / 0.5548 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01475/1.493, allocations: 7.312 MB / 0.562 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/1.494, allocations: 326.4 kB / 0.5623 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/1.494, allocations: 101.9 kB / 0.5624 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/1.494, allocations: 115.4 kB / 0.5625 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/1.494, allocations: 91.45 kB / 0.5626 GB, free: 488 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/1.494, allocations: 8 kB / 0.5626 GB, free: 480 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02306/1.517, allocations: 17.81 MB / 0.58 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/1.517, allocations: 35.78 kB / 0.58 GB, free: 14.6 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/1.518, allocations: 145 kB / 0.5802 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00588/1.523, allocations: 5.613 MB / 0.5856 GB, free: 8.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/1.523, allocations: 0 / 0.5856 GB, free: 8.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/1.523, allocations: 0 / 0.5856 GB, free: 8.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/1.523, allocations: 0 / 0.5856 GB, free: 8.82 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.003146/1.527, allocations: 1.388 MB / 0.587 GB, free: 7.383 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/1.527, allocations: 8.031 kB / 0.587 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/1.527, allocations: 35.56 kB / 0.587 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/1.527, allocations: 234.5 kB / 0.5873 GB, free: 7.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.527, allocations: 20.44 kB / 0.5873 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/1.527, allocations: 17.36 kB / 0.5873 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/1.527, allocations: 299.3 kB / 0.5876 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.527, allocations: 0 / 0.5876 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/1.527, allocations: 15.94 kB / 0.5876 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.527, allocations: 11.98 kB / 0.5876 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/1.528, allocations: 169 kB / 0.5878 GB, free: 6.523 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.56, allocations: 18.13 MB / 0.6055 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/1.56, allocations: 142.6 kB / 0.6056 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/1.561, allocations: 93.98 kB / 0.6057 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1356/1.696, allocations: 77.93 MB / 0.6818 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.696, allocations: 38.5 kB / 0.6818 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.913e-06/1.696, allocations: 0 / 0.6818 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0008758/1.697, allocations: 451.4 kB / 0.6823 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/1.697, allocations: 55.34 kB / 0.6823 GB, free: 11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/1.697, allocations: 219.1 kB / 0.6825 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/1.697, allocations: 25.7 kB / 0.6826 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/1.697, allocations: 152.5 kB / 0.6827 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/1.698, allocations: 114.3 kB / 0.6828 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/1.698, allocations: 33.7 kB / 0.6828 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/1.698, allocations: 334.8 kB / 0.6832 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/1.698, allocations: 71.97 kB / 0.6832 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/1.698, allocations: 112.3 kB / 0.6833 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/1.698, allocations: 208.6 kB / 0.6835 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.698, allocations: 0 / 0.6835 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003607/1.699, allocations: 305.5 kB / 0.6838 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.699, allocations: 7.938 kB / 0.6838 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.699, allocations: 0 / 0.6838 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000821/1.699, allocations: 190.8 kB / 0.684 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/1.699, allocations: 11.98 kB / 0.684 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004383/1.7, allocations: 0.6394 MB / 0.6847 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.795e-05/1.7, allocations: 27.62 kB / 0.6847 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.7, allocations: 8 kB / 0.6847 GB, free: 8.473 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.0001065/1.7, allocations: 130.7 kB / 0.6848 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/1.7, allocations: 23.72 kB / 0.6848 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/1.701, allocations: 0.5992 MB / 0.6854 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003117/1.701, allocations: 222.3 kB / 0.6856 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.701, allocations: 0 / 0.6856 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.701, allocations: 3.938 kB / 0.6856 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008012/1.702, allocations: 0.7359 MB / 0.6864 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.702, allocations: 4 kB / 0.6864 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/1.702, allocations: 16 kB / 0.6864 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/1.702, allocations: 141.7 kB / 0.6865 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/1.703, allocations: 8 kB / 0.6865 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003882/1.703, allocations: 0.6585 MB / 0.6872 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.703, allocations: 128 / 0.6872 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/1.703, allocations: 353 kB / 0.6875 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/1.703, allocations: 136.7 kB / 0.6876 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/1.703, allocations: 4 kB / 0.6876 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/1.704, allocations: 4 kB / 0.6876 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/1.704, allocations: 7.984 kB / 0.6876 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/1.704, allocations: 4 kB / 0.6876 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002053/1.704, allocations: 237.9 kB / 0.6879 GB, free: 5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.704, allocations: 0 / 0.6879 GB, free: 5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002071/1.706, allocations: 1.187 MB / 0.689 GB, free: 3.812 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.003661/1.71, allocations: 1.767 MB / 0.6908 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003938/1.71, allocations: 238.5 kB / 0.691 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.71, allocations: 0 / 0.691 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/1.71, allocations: 87.91 kB / 0.6911 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/1.711, allocations: 119.8 kB / 0.6912 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007192/1.712, allocations: 0.6591 MB / 0.6918 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/1.712, allocations: 0.7674 MB / 0.6926 GB, free: 120 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/1.712, allocations: 27.42 kB / 0.6926 GB, free: 96 kB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/1.712, allocations: 0 / 0.6926 GB, free: 96 kB / 0.5762 GB Notification: Performance of Templates: time 0.1594/1.871, allocations: 24.3 MB / 0.7163 GB, free: 221 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestPipePressureLossCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLossCalcHelperMain.o] Error 1