Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.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.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.015e-05, allocations: 0 / 205.4 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 31.98 MB / 237.4 MB, free: 5.426 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.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh): time 1.303/1.419, allocations: 296 MB / 0.5209 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3949/1.814, allocations: 195 MB / 0.7114 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/1.815, allocations: 17.69 kB / 0.7114 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003091/1.815, allocations: 130.9 kB / 0.7116 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007395/1.816, allocations: 351.5 kB / 0.7119 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02287/1.839, allocations: 11.14 MB / 0.7228 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001032/1.84, allocations: 1.321 MB / 0.7241 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/1.84, allocations: 0.5916 MB / 0.7246 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/1.841, allocations: 444.8 kB / 0.7251 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/1.841, allocations: 0.5152 MB / 0.7256 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/1.841, allocations: 51.72 kB / 0.7256 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02382/1.865, allocations: 19.47 MB / 0.7446 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002241/1.865, allocations: 225 kB / 0.7448 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004938/1.866, allocations: 0.5541 MB / 0.7454 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008816/1.875, allocations: 7.726 MB / 0.7529 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.875, allocations: 3.562 kB / 0.7529 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/1.875, allocations: 0 / 0.7529 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.169e-05/1.875, allocations: 0 / 0.7529 GB, free: 15.1 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.004111/1.879, allocations: 2.443 MB / 0.7553 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/1.879, allocations: 8.625 kB / 0.7553 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/1.879, allocations: 141.7 kB / 0.7555 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/1.88, allocations: 0.6267 MB / 0.7561 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/1.88, allocations: 85 kB / 0.7562 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/1.88, allocations: 112.7 kB / 0.7563 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/1.881, allocations: 1.225 MB / 0.7575 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/1.881, allocations: 5.812 kB / 0.7575 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/1.881, allocations: 48.44 kB / 0.7575 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/1.881, allocations: 28.94 kB / 0.7575 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/1.883, allocations: 0.9315 MB / 0.7584 GB, free: 12.39 MB / 0.5919 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.1318/2.014, allocations: 70.25 MB / 0.8271 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/2.015, allocations: 464.3 kB / 0.8275 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/2.015, allocations: 172.5 kB / 0.8277 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7869/2.802, allocations: 317.1 MB / 1.137 GB, free: 101.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/2.802, allocations: 33.81 kB / 1.137 GB, free: 101.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/2.802, allocations: 0.5156 kB / 1.137 GB, free: 101.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.002588/2.805, allocations: 1.018 MB / 1.138 GB, free: 100.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/2.805, allocations: 55.41 kB / 1.138 GB, free: 100.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/2.806, allocations: 0.8075 MB / 1.139 GB, free: 99.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/2.806, allocations: 29.45 kB / 1.139 GB, free: 99.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/2.806, allocations: 0.6067 MB / 1.14 GB, free: 99.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/2.806, allocations: 134.1 kB / 1.14 GB, free: 99.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/2.806, allocations: 90.78 kB / 1.14 GB, free: 99.06 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/2.806, allocations: 389.6 kB / 1.14 GB, free: 98.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/2.807, allocations: 198.4 kB / 1.141 GB, free: 98.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/2.807, allocations: 0.6228 MB / 1.141 GB, free: 97.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/2.808, allocations: 0.875 MB / 1.142 GB, free: 96.97 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/2.808, allocations: 12 kB / 1.142 GB, free: 96.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001506/2.809, allocations: 1.035 MB / 1.143 GB, free: 96.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/2.809, allocations: 14.19 kB / 1.143 GB, free: 96.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/2.809, allocations: 16 kB / 1.143 GB, free: 96.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/2.811, allocations: 490.6 kB / 1.144 GB, free: 95.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/2.812, allocations: 160.6 kB / 1.144 GB, free: 95.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008157/2.813, allocations: 1.345 MB / 1.145 GB, free: 94.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/2.813, allocations: 114.2 kB / 1.145 GB, free: 94.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/2.813, allocations: 55.62 kB / 1.145 GB, free: 94.19 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 21 (sourceQ.C.ftype,sourceP2.C.ftype,volumeATh.Cs1.ftype,volumeATh.Cs2.ftype,volumeATh.fluids[1],controlValve1.fluid,controlValve2.fluid,lumpedStraightPipe1.fluid,sink.fluid,sourceP2.fluid1,sourceQ.fluid1,volumeATh.fluid1,volumeATh.Ce1.diff_on_2,controlValve1.C2.diff_on_1,volumeATh.Cs1.diff_on_2,volumeATh.Cs1.diff_on_1,controlValve2.C2.diff_on_1,volumeATh.Ce2.diff_on_2,sourceP2.C.diff_on_2,volumeATh.Cs2.diff_on_1,volumeATh.Cs2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002646/2.813, allocations: 273.3 kB / 1.145 GB, free: 94 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/2.813, allocations: 90.91 kB / 1.146 GB, free: 93.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/2.815, allocations: 0.6022 MB / 1.146 GB, free: 93.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/2.815, allocations: 10.33 kB / 1.146 GB, free: 93.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.815, allocations: 7.938 kB / 1.146 GB, free: 93.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/2.815, allocations: 7.734 kB / 1.146 GB, free: 93.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/2.816, allocations: 1.43 MB / 1.148 GB, free: 92.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.816, allocations: 4 kB / 1.148 GB, free: 92.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/2.817, allocations: 46.22 kB / 1.148 GB, free: 92.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/2.818, allocations: 319.5 kB / 1.148 GB, free: 91.94 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/2.818, allocations: 14.98 kB / 1.148 GB, free: 91.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005931/2.818, allocations: 1.241 MB / 1.149 GB, free: 90.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/2.818, allocations: 0 / 1.149 GB, free: 90.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/2.82, allocations: 0.8769 MB / 1.15 GB, free: 90.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/2.82, allocations: 210.3 kB / 1.15 GB, free: 89.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/2.82, allocations: 5 kB / 1.15 GB, free: 89.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/2.82, allocations: 21.48 kB / 1.15 GB, free: 89.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/2.82, allocations: 27.14 kB / 1.15 GB, free: 89.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/2.82, allocations: 18.11 kB / 1.15 GB, free: 89.76 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000436/2.821, allocations: 0.5139 MB / 1.151 GB, free: 89.37 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/2.821, allocations: 0 / 1.151 GB, free: 89.37 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002976/2.824, allocations: 1.796 MB / 1.152 GB, free: 87.88 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005628/2.83, allocations: 2.606 MB / 1.155 GB, free: 85.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001023/2.831, allocations: 0.5817 MB / 1.156 GB, free: 85.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/2.831, allocations: 0 / 1.156 GB, free: 85.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004326/2.831, allocations: 232.9 kB / 1.156 GB, free: 85.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/2.832, allocations: 185.7 kB / 1.156 GB, free: 85.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/2.834, allocations: 2.056 MB / 1.158 GB, free: 83.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/2.834, allocations: 1.022 MB / 1.159 GB, free: 82.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/2.834, allocations: 77.52 kB / 1.159 GB, free: 81.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/2.834, allocations: 0 / 1.159 GB, free: 81.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.03559/2.87, allocations: 43.82 MB / 1.202 GB, free: 38.48 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeAThCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeAThCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeAThCalcHelperMain.o] Error 1