Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.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.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6897/0.6897, allocations: 150.8 MB / 166.7 MB, free: 15.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.286e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 31.98 MB / 237.4 MB, free: 5.414 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.TestJunctions4): time 1.311/1.425, allocations: 294.6 MB / 0.5195 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03602/1.461, allocations: 37.24 MB / 0.5559 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/1.461, allocations: 4 kB / 0.5559 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/1.462, allocations: 111.3 kB / 0.556 GB, free: 7.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/1.462, allocations: 166.7 kB / 0.5561 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01437/1.476, allocations: 7.364 MB / 0.5633 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005409/1.477, allocations: 0.6181 MB / 0.5639 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/1.477, allocations: 232.1 kB / 0.5642 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/1.477, allocations: 210.9 kB / 0.5644 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/1.477, allocations: 202.9 kB / 0.5646 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/1.478, allocations: 19.94 kB / 0.5646 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02229/1.5, allocations: 17.8 MB / 0.582 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/1.5, allocations: 67.64 kB / 0.582 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/1.5, allocations: 276.3 kB / 0.5823 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006033/1.506, allocations: 5.831 MB / 0.588 GB, free: 6.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/1.506, allocations: 4 kB / 0.588 GB, free: 6.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/1.506, allocations: 0 / 0.588 GB, free: 6.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/1.506, allocations: 0 / 0.588 GB, free: 6.453 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002699/1.509, allocations: 1.575 MB / 0.5895 GB, free: 4.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/1.509, allocations: 8.031 kB / 0.5895 GB, free: 4.816 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/1.509, allocations: 63.28 kB / 0.5896 GB, free: 4.754 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/1.509, allocations: 306 kB / 0.5899 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/1.509, allocations: 58.7 kB / 0.5899 GB, free: 4.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/1.509, allocations: 51.98 kB / 0.59 GB, free: 4.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/1.51, allocations: 0.5884 MB / 0.5906 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.51, allocations: 0 / 0.5906 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/1.51, allocations: 20 kB / 0.5906 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/1.51, allocations: 27.92 kB / 0.5906 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/1.511, allocations: 352 kB / 0.591 GB, free: 3.273 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.01808/1.529, allocations: 12 MB / 0.6027 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/1.529, allocations: 251.1 kB / 0.6029 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/1.529, allocations: 181.9 kB / 0.6031 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3416/1.871, allocations: 120.1 MB / 0.7203 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.871, allocations: 41.11 kB / 0.7204 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.265e-06/1.871, allocations: 0 / 0.7204 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.002163/1.873, allocations: 1.139 MB / 0.7215 GB, free: 212.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/1.873, allocations: 57.27 kB / 0.7215 GB, free: 212.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/1.873, allocations: 289.5 kB / 0.7218 GB, free: 212.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/1.873, allocations: 31.95 kB / 0.7219 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/1.874, allocations: 220 kB / 0.7221 GB, free: 212.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/1.874, allocations: 215.9 kB / 0.7223 GB, free: 212.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/1.874, allocations: 57 kB / 0.7223 GB, free: 212.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.235e-05/1.874, allocations: 353.5 kB / 0.7227 GB, free: 212.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/1.874, allocations: 129.1 kB / 0.7228 GB, free: 212.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/1.874, allocations: 226.1 kB / 0.723 GB, free: 212 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/1.875, allocations: 407.1 kB / 0.7234 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.875, allocations: 4.844 kB / 0.7234 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008166/1.875, allocations: 0.6203 MB / 0.724 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.875, allocations: 9.641 kB / 0.724 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.875, allocations: 4.125 kB / 0.724 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/1.877, allocations: 0.6165 MB / 0.7246 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/1.877, allocations: 7.906 kB / 0.7246 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/1.878, allocations: 2.014 MB / 0.7266 GB, free: 210.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/1.878, allocations: 61.91 kB / 0.7266 GB, free: 210.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/1.878, allocations: 11.47 kB / 0.7267 GB, free: 210.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (source.C.b,sourceP.C.b,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,deheaterMixer2_1.Ce.a,deheaterMixer2_1.Cs.b,deheaterMixer2_1.Ce_mix.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.878, allocations: 167.6 kB / 0.7268 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/1.878, allocations: 38.78 kB / 0.7269 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/1.88, allocations: 1.459 MB / 0.7283 GB, free: 209.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007359/1.88, allocations: 0.7498 MB / 0.729 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.88, allocations: 0 / 0.729 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.88, allocations: 7.734 kB / 0.729 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.882, allocations: 1.855 MB / 0.7308 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.882, allocations: 0 / 0.7308 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/1.882, allocations: 65.97 kB / 0.7309 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009613/1.883, allocations: 0.5981 MB / 0.7315 GB, free: 209 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/1.883, allocations: 11.78 kB / 0.7315 GB, free: 209 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009136/1.884, allocations: 2.075 MB / 0.7335 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.884, allocations: 0.5469 kB / 0.7335 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/1.885, allocations: 0.9098 MB / 0.7344 GB, free: 207.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/1.885, allocations: 182.8 kB / 0.7346 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/1.885, allocations: 12.5 kB / 0.7346 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/1.885, allocations: 23.3 kB / 0.7346 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/1.886, allocations: 36.17 kB / 0.7346 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/1.886, allocations: 20.5 kB / 0.7347 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001513/1.886, allocations: 238.8 kB / 0.7349 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.886, allocations: 0 / 0.7349 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001991/1.888, allocations: 1.263 MB / 0.7361 GB, free: 206.7 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 (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003369/1.891, allocations: 1.779 MB / 0.7379 GB, free: 206.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009273/1.892, allocations: 0.6999 MB / 0.7385 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.892, allocations: 0 / 0.7385 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/1.893, allocations: 372.7 kB / 0.7389 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/1.894, allocations: 246 kB / 0.7391 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/1.895, allocations: 1.434 MB / 0.7405 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/1.895, allocations: 0.9109 MB / 0.7414 GB, free: 202.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/1.895, allocations: 35.44 kB / 0.7415 GB, free: 202.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/1.895, allocations: 0 / 0.7415 GB, free: 202.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02559/1.921, allocations: 33.93 MB / 0.7746 GB, free: 169.7 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.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.TestJunctions4CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4CalcHelperMain.o] Error 1