Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.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.SimpleExamples.TestVolumeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6875/0.6875, allocations: 150.8 MB / 166.7 MB, free: 15.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.271e-05/1.278e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 31.98 MB / 237.4 MB, free: 5.422 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.SimpleExamples.TestVolumeI): time 1.311/1.43, allocations: 298.2 MB / 0.523 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3891/1.819, allocations: 195.7 MB / 0.7142 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/1.82, allocations: 22.38 kB / 0.7142 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002692/1.82, allocations: 175.9 kB / 0.7144 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007407/1.821, allocations: 0.5234 MB / 0.7149 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02292/1.844, allocations: 11.41 MB / 0.726 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001497/1.845, allocations: 2.188 MB / 0.7281 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006756/1.846, allocations: 0.9686 MB / 0.7291 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/1.846, allocations: 0.719 MB / 0.7298 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005601/1.847, allocations: 0.8524 MB / 0.7306 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/1.847, allocations: 99.28 kB / 0.7307 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02814/1.875, allocations: 22.81 MB / 0.753 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/1.875, allocations: 357.9 kB / 0.7533 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008366/1.876, allocations: 0.909 MB / 0.7542 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.887, allocations: 9.138 MB / 0.7631 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/1.887, allocations: 0 / 0.7631 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/1.887, allocations: 0 / 0.7631 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.541e-05/1.887, allocations: 0 / 0.7631 GB, free: 12.67 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: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.005548/1.892, allocations: 3.189 MB / 0.7663 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/1.893, allocations: 8.625 kB / 0.7663 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/1.893, allocations: 231.3 kB / 0.7665 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/1.894, allocations: 0.8409 MB / 0.7673 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/1.894, allocations: 145.7 kB / 0.7674 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/1.894, allocations: 194.5 kB / 0.7676 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.896, allocations: 2.081 MB / 0.7697 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/1.896, allocations: 8.75 kB / 0.7697 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.896, allocations: 82.66 kB / 0.7698 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/1.896, allocations: 50.12 kB / 0.7698 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/1.899, allocations: 1.668 MB / 0.7714 GB, free: 9.039 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.01835/1.917, allocations: 19.73 MB / 0.7907 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.918, allocations: 0.7489 MB / 0.7914 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/1.919, allocations: 282.7 kB / 0.7917 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6497/2.568, allocations: 291.1 MB / 1.076 GB, free: 382.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/2.568, allocations: 45.41 kB / 1.076 GB, free: 382.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.063e-06/2.568, allocations: 0 / 1.076 GB, free: 382.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.006242/2.575, allocations: 2.065 MB / 1.078 GB, free: 380.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/2.575, allocations: 59.97 kB / 1.078 GB, free: 380.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/2.576, allocations: 1.152 MB / 1.079 GB, free: 379.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/2.576, allocations: 36.52 kB / 1.079 GB, free: 379.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/2.576, allocations: 0.9137 MB / 1.08 GB, free: 379.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/2.576, allocations: 266.5 kB / 1.08 GB, free: 378.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/2.576, allocations: 159.8 kB / 1.081 GB, free: 378.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.062e-05/2.576, allocations: 301.1 kB / 1.081 GB, free: 378.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/2.577, allocations: 345 kB / 1.081 GB, free: 378.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/2.577, allocations: 1.049 MB / 1.082 GB, free: 377 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/2.579, allocations: 1.498 MB / 1.084 GB, free: 375.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/2.579, allocations: 11.75 kB / 1.084 GB, free: 375.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002015/2.581, allocations: 1.674 MB / 1.085 GB, free: 374.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/2.581, allocations: 16 kB / 1.085 GB, free: 374.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/2.581, allocations: 28.64 kB / 1.085 GB, free: 374.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006441/2.587, allocations: 1.497 MB / 1.087 GB, free: 372.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/2.588, allocations: 271.2 kB / 1.087 GB, free: 372.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/2.589, allocations: 1.143 MB / 1.088 GB, free: 371.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/2.59, allocations: 205.2 kB / 1.088 GB, free: 371.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/2.59, allocations: 88.11 kB / 1.088 GB, free: 371.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 38 (volumeA.Cs2.ftype,sourceP2.C.ftype,sourceP1.C.ftype,volumeA.Cs4.ftype,volumeA.Cs3.ftype,volumeA.Cs1.ftype,volumeA.Ce4.ftype,volumeA.Ce3.ftype,volumeA.fluids[1],sinkP.fluid,lumpedStraightPipe1.fluid,lumpedStraightPipe3.fluid,lumpedStraightPipe2.fluid,controlValve1.fluid,controlValve2.fluid,controlValve3.fluid,sourceP2.fluid1,volumeA.fluid1,sourceP1.fluid1,volumeA.Cs2.diff_on_2,volumeA.Cs2.diff_on_1,lumpedStraightPipe3.C2.diff_on_1,volumeA.Ce1.diff_on_2,lumpedStraightPipe2.C1.diff_on_2,controlValve2.C2.diff_on_1,volumeA.Ce2.diff_on_2,lumpedStraightPipe1.C1.diff_on_2,controlValve1.C2.diff_on_1,volumeA.Cs4.diff_on_1,volumeA.Cs3.diff_on_1,volumeA.Cs1.diff_on_1,volumeA.Ce4.diff_on_2,volumeA.Ce3.diff_on_2,volumeA.Cs4.diff_on_2,volumeA.Cs3.diff_on_2,volumeA.Cs1.diff_on_2,volumeA.Ce4.diff_on_1,volumeA.Ce3.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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 {(8,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0003738/2.59, allocations: 388.2 kB / 1.089 GB, free: 371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/2.59, allocations: 134.3 kB / 1.089 GB, free: 370.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/2.592, allocations: 1.025 MB / 1.09 GB, free: 370.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/2.592, allocations: 8 kB / 1.09 GB, free: 370.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/2.592, allocations: 0 / 1.09 GB, free: 370.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/2.592, allocations: 11.92 kB / 1.09 GB, free: 370.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/2.594, allocations: 2.303 MB / 1.092 GB, free: 368.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/2.594, allocations: 2.078 kB / 1.092 GB, free: 368.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/2.594, allocations: 71.91 kB / 1.092 GB, free: 368.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004661/2.599, allocations: 1.114 MB / 1.093 GB, free: 367.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/2.599, allocations: 23.3 kB / 1.093 GB, free: 367.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009466/2.6, allocations: 1.095 MB / 1.094 GB, free: 366.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/2.6, allocations: 0 / 1.094 GB, free: 366.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/2.602, allocations: 1.353 MB / 1.096 GB, free: 365.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/2.602, allocations: 300.8 kB / 1.096 GB, free: 365.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/2.602, allocations: 11 kB / 1.096 GB, free: 365.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/2.603, allocations: 31.36 kB / 1.096 GB, free: 365.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/2.603, allocations: 52.34 kB / 1.096 GB, free: 365.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/2.603, allocations: 27.73 kB / 1.096 GB, free: 365 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005769/2.603, allocations: 0.7068 MB / 1.097 GB, free: 364.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/2.603, allocations: 0 / 1.097 GB, free: 364.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003637/2.607, allocations: 2.155 MB / 1.099 GB, free: 362.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (volumeA.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 (36): * Single equations (assignments): 35 * 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 {(7,34)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005236/2.612, allocations: 2.926 MB / 1.102 GB, free: 360.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001433/2.614, allocations: 1.036 MB / 1.103 GB, free: 359.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/2.614, allocations: 0 / 1.103 GB, free: 359.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007068/2.614, allocations: 422.8 kB / 1.103 GB, free: 359.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009485/2.615, allocations: 252.1 kB / 1.103 GB, free: 359.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/2.618, allocations: 3.168 MB / 1.107 GB, free: 356.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/2.618, allocations: 1.221 MB / 1.108 GB, free: 354.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/2.618, allocations: 103.4 kB / 1.108 GB, free: 354.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/2.618, allocations: 0 / 1.108 GB, free: 354.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.04079/2.659, allocations: 50.51 MB / 1.157 GB, free: 305.3 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.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.SimpleExamples.TestVolumeICalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeICalcHelperMain.o] Error 1