Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefP.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.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefP") translateModel(ThermoSysPro.Examples.SimpleExamples.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6883/0.6883, allocations: 150.8 MB / 166.7 MB, free: 15.32 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.38e-05/1.388e-05, allocations: 4 kB / 205.4 MB, free: 9.801 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 31.98 MB / 237.4 MB, free: 5.32 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.TestRefP): time 1.317/1.436, allocations: 294.3 MB / 0.5192 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1611/1.597, allocations: 185.4 MB / 0.7003 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/1.597, allocations: 0 / 0.7003 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002657/1.598, allocations: 103.4 kB / 0.7004 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/1.598, allocations: 127 kB / 0.7005 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2464/1.844, allocations: 8.827 MB / 0.7091 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005941/1.845, allocations: 0.5223 MB / 0.7096 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/1.845, allocations: 248.5 kB / 0.7099 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/1.845, allocations: 180.2 kB / 0.71 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/1.846, allocations: 200.2 kB / 0.7102 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/1.846, allocations: 18.28 kB / 0.7102 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02467/1.87, allocations: 20.15 MB / 0.7299 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/1.87, allocations: 68.81 kB / 0.73 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/1.871, allocations: 243.7 kB / 0.7302 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007259/1.878, allocations: 6.749 MB / 0.7368 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/1.878, allocations: 0 / 0.7368 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/1.878, allocations: 0 / 0.7368 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.878, allocations: 0 / 0.7368 GB, free: 3.629 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00333/1.881, allocations: 1.792 MB / 0.7386 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/1.881, allocations: 11.53 kB / 0.7386 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/1.881, allocations: 54 kB / 0.7386 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.882, allocations: 310.6 kB / 0.7389 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/1.882, allocations: 31.62 kB / 0.739 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/1.882, allocations: 45.03 kB / 0.739 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/1.882, allocations: 0.5358 MB / 0.7395 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.882, allocations: 2.906 kB / 0.7395 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/1.882, allocations: 18.53 kB / 0.7395 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/1.882, allocations: 19.48 kB / 0.7396 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/1.883, allocations: 332.5 kB / 0.7399 GB, free: 1.879 MB / 0.5762 GB 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.01741/1.9, allocations: 11.98 MB / 0.7516 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009033/1.901, allocations: 324 kB / 0.7519 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/1.901, allocations: 145.1 kB / 0.752 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.207/2.108, allocations: 118.3 MB / 0.8675 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/2.108, allocations: 39.2 kB / 0.8676 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/2.108, allocations: 0 / 0.8676 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43): time 0.006803/2.115, allocations: 1.716 MB / 0.8692 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/2.115, allocations: 59.39 kB / 0.8693 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/2.116, allocations: 311 kB / 0.8696 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/2.116, allocations: 29.39 kB / 0.8696 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/2.116, allocations: 236.3 kB / 0.8699 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/2.116, allocations: 143.8 kB / 0.87 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/2.116, allocations: 51.94 kB / 0.87 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001261/2.116, allocations: 349.5 kB / 0.8704 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/2.116, allocations: 116.7 kB / 0.8705 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/2.117, allocations: 222.1 kB / 0.8707 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/2.117, allocations: 374.8 kB / 0.8711 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.117, allocations: 0 / 0.8711 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001965/2.119, allocations: 0.722 MB / 0.8718 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/2.119, allocations: 13.55 kB / 0.8718 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/2.119, allocations: 1.75 kB / 0.8718 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/2.121, allocations: 479.6 kB / 0.8722 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/2.121, allocations: 18.91 kB / 0.8722 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007983/2.122, allocations: 0.8598 MB / 0.8731 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/2.122, allocations: 47.27 kB / 0.8731 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/2.122, allocations: 19.45 kB / 0.8732 GB, free: 10.45 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,refT.C2.b,refT.C1.a,loopBreakerH.C2.b,loopBreakerH.C1.a,loopBreakerQ.C2.b,loopBreakerQ.C1.a,pump.C2.b,pump.C1.a,refP.C2.b,refP.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(6,33.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0001579/2.122, allocations: 170.1 kB / 0.8733 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/2.122, allocations: 43.45 kB / 0.8734 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/2.123, allocations: 0.7566 MB / 0.8741 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000915/2.124, allocations: 0.5925 MB / 0.8747 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/2.124, allocations: 0 / 0.8747 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/2.124, allocations: 3.984 kB / 0.8747 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/2.126, allocations: 1.417 MB / 0.8761 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/2.126, allocations: 1.125 kB / 0.8761 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/2.126, allocations: 44.75 kB / 0.8761 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/2.127, allocations: 468.3 kB / 0.8766 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/2.127, allocations: 11.38 kB / 0.8766 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007339/2.128, allocations: 0.8893 MB / 0.8774 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.128, allocations: 0 / 0.8774 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/2.129, allocations: 0.7276 MB / 0.8781 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/2.129, allocations: 151.1 kB / 0.8783 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/2.129, allocations: 7.812 kB / 0.8783 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/2.13, allocations: 15.31 kB / 0.8783 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/2.13, allocations: 39.42 kB / 0.8783 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/2.13, allocations: 19.88 kB / 0.8784 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001653/2.13, allocations: 219.8 kB / 0.8786 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/2.13, allocations: 0 / 0.8786 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002966/2.133, allocations: 1.51 MB / 0.88 GB, free: 4.695 MB / 0.7169 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(6,33.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005682/2.139, allocations: 2.327 MB / 0.8823 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008674/2.139, allocations: 0.5847 MB / 0.8829 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.14, allocations: 3.812 kB / 0.8829 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/2.14, allocations: 348.7 kB / 0.8832 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/2.141, allocations: 139.1 kB / 0.8834 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/2.142, allocations: 1.179 MB / 0.8845 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/2.142, allocations: 0.8556 MB / 0.8853 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/2.142, allocations: 35.44 kB / 0.8854 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/2.142, allocations: 0 / 0.8854 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.0358/2.178, allocations: 33.41 MB / 0.918 GB, free: 14.54 MB / 0.7637 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefP.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefP.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.Examples.SimpleExamples.TestRefPCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestRefPCalcHelperMain.o] Error 1