Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.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.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6842/0.6842, allocations: 150.8 MB / 166.7 MB, free: 15.34 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.327e-06/9.347e-06, allocations: 0 / 205.4 MB, free: 9.801 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 31.99 MB / 237.4 MB, free: 5.469 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.Volume.TestVolumeATh): time 1.309/1.422, allocations: 295.2 MB / 0.5201 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1618/1.584, allocations: 186 MB / 0.7017 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/1.585, allocations: 4 kB / 0.7017 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003871/1.585, allocations: 179.1 kB / 0.7019 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003904/1.585, allocations: 250.3 kB / 0.7022 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2465/1.832, allocations: 9.004 MB / 0.7109 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008622/1.833, allocations: 0.8929 MB / 0.7118 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/1.833, allocations: 320.3 kB / 0.7121 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/1.833, allocations: 306.8 kB / 0.7124 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/1.834, allocations: 313.3 kB / 0.7127 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/1.834, allocations: 23.84 kB / 0.7127 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02102/1.855, allocations: 17.38 MB / 0.7297 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/1.855, allocations: 124.3 kB / 0.7298 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/1.855, allocations: 373.7 kB / 0.7302 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006572/1.862, allocations: 6.392 MB / 0.7364 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/1.862, allocations: 0 / 0.7364 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/1.862, allocations: 1.5 kB / 0.7364 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.862, allocations: 0 / 0.7364 GB, free: 3.27 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003342/1.865, allocations: 1.913 MB / 0.7383 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/1.865, allocations: 9.594 kB / 0.7383 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/1.865, allocations: 83.03 kB / 0.7384 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/1.866, allocations: 413.5 kB / 0.7388 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/1.866, allocations: 43.66 kB / 0.7388 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/1.866, allocations: 57.25 kB / 0.7389 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/1.866, allocations: 0.762 MB / 0.7396 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/1.866, allocations: 0 / 0.7396 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/1.867, allocations: 21.16 kB / 0.7396 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/1.867, allocations: 30.42 kB / 0.7397 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/1.867, allocations: 0.4899 MB / 0.7401 GB, free: 1.281 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.002547/1.87, allocations: 4.545 MB / 0.7446 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/1.87, allocations: 331.9 kB / 0.7449 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/1.871, allocations: 231.8 kB / 0.7451 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2654/2.136, allocations: 151.8 MB / 0.8933 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/2.136, allocations: 34.48 kB / 0.8934 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=81): time 2.134e-06/2.136, allocations: 4 kB / 0.8934 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.00274/2.139, allocations: 1.154 MB / 0.8945 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/2.139, allocations: 89.08 kB / 0.8946 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/2.139, allocations: 0.5051 MB / 0.8951 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/2.139, allocations: 29.2 kB / 0.8951 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/2.14, allocations: 324.1 kB / 0.8954 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/2.14, allocations: 267.4 kB / 0.8957 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/2.14, allocations: 71.8 kB / 0.8957 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/2.14, allocations: 376.9 kB / 0.8961 GB, free: 456 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/2.14, allocations: 168.2 kB / 0.8963 GB, free: 352 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/2.141, allocations: 351.2 kB / 0.8966 GB, free: 12 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/2.141, allocations: 0.5597 MB / 0.8971 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/2.141, allocations: 0 / 0.8971 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001233/2.143, allocations: 0.7966 MB / 0.8979 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/2.143, allocations: 15.75 kB / 0.8979 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/2.143, allocations: 7.984 kB / 0.8979 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/2.145, allocations: 0.7575 MB / 0.8987 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/2.145, allocations: 50.47 kB / 0.8987 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/2.146, allocations: 1.528 MB / 0.9002 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/2.146, allocations: 74.89 kB / 0.9003 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/2.146, allocations: 23.56 kB / 0.9003 GB, free: 12.8 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,sourceP2.C.b,sourceQ.C.b,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,sink.C.a,volumeATh.Cs2.b,volumeATh.Cs1.b,volumeATh.Ce2.a,volumeATh.Ce1.a,volumeATh.Cs2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000209/2.147, allocations: 210 kB / 0.9005 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/2.147, allocations: 63.09 kB / 0.9006 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/2.148, allocations: 1.219 MB / 0.9018 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001095/2.149, allocations: 0.8886 MB / 0.9026 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.149, allocations: 1.859 kB / 0.9026 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/2.149, allocations: 3.984 kB / 0.9026 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/2.152, allocations: 2.551 MB / 0.9051 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/2.152, allocations: 4 kB / 0.9051 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/2.153, allocations: 136.5 kB / 0.9053 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/2.154, allocations: 0.5731 MB / 0.9058 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/2.154, allocations: 29.95 kB / 0.9059 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/2.155, allocations: 1.473 MB / 0.9073 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.155, allocations: 14.97 kB / 0.9073 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/2.157, allocations: 1.543 MB / 0.9088 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/2.157, allocations: 245 kB / 0.9091 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/2.157, allocations: 26.91 kB / 0.9091 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/2.157, allocations: 43.14 kB / 0.9091 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/2.158, allocations: 64.67 kB / 0.9092 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/2.158, allocations: 27.38 kB / 0.9092 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003808/2.158, allocations: 437.6 kB / 0.9096 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/2.158, allocations: 4 kB / 0.9096 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003119/2.161, allocations: 1.494 MB / 0.9111 GB, free: 3.934 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 1 (volumeATh.h) * 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 (72): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0045/2.166, allocations: 2.18 MB / 0.9132 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001393/2.167, allocations: 0.9749 MB / 0.9142 GB, free: 1.293 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/2.167, allocations: 0 / 0.9142 GB, free: 1.293 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/2.168, allocations: 489 kB / 0.9146 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/2.17, allocations: 313.7 kB / 0.9149 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/2.172, allocations: 2.252 MB / 0.9171 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/2.172, allocations: 1.035 MB / 0.9181 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/2.172, allocations: 59.44 kB / 0.9182 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of SimCode: time 2.1e-07/2.172, allocations: 0 / 0.9182 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of Templates: time 0.03943/2.212, allocations: 38.84 MB / 0.9561 GB, free: 6.836 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.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.Book.SimpleExamples.Volume.TestVolumeAThCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeAThCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeAThCalcHelperMain.o] Error 1