Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.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.TestVolumeA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6764/0.6764, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.303e-05/1.303e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 31.98 MB / 237.4 MB, free: 5.43 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.TestVolumeA): time 1.297/1.417, allocations: 297.6 MB / 0.5224 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.396/1.813, allocations: 195.5 MB / 0.7133 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/1.813, allocations: 21.88 kB / 0.7134 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002795/1.813, allocations: 160.2 kB / 0.7135 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007407/1.814, allocations: 482.2 kB / 0.714 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02285/1.837, allocations: 11.32 MB / 0.725 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001369/1.838, allocations: 1.938 MB / 0.7269 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/1.839, allocations: 0.9159 MB / 0.7278 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/1.84, allocations: 0.6355 MB / 0.7284 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005087/1.84, allocations: 0.7682 MB / 0.7292 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/1.84, allocations: 83.84 kB / 0.7293 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0279/1.868, allocations: 22.79 MB / 0.7515 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003179/1.868, allocations: 326.3 kB / 0.7518 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007562/1.869, allocations: 0.8013 MB / 0.7526 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/1.879, allocations: 8.938 MB / 0.7614 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/1.879, allocations: 0 / 0.7614 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/1.879, allocations: 3 kB / 0.7614 GB, free: 13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.441e-05/1.879, allocations: 0 / 0.7614 GB, free: 13 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: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.005199/1.885, allocations: 3.02 MB / 0.7643 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/1.885, allocations: 8.188 kB / 0.7643 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/1.885, allocations: 205.3 kB / 0.7645 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008494/1.886, allocations: 0.7981 MB / 0.7653 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.351e-05/1.886, allocations: 124.6 kB / 0.7654 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.886, allocations: 167.8 kB / 0.7656 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/1.888, allocations: 1.644 MB / 0.7672 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.888, allocations: 0 / 0.7672 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/1.888, allocations: 66.03 kB / 0.7672 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/1.888, allocations: 40.94 kB / 0.7673 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/1.89, allocations: 1.466 MB / 0.7687 GB, free: 9.82 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.01668/1.907, allocations: 15.72 MB / 0.7841 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.908, allocations: 0.798 MB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/1.908, allocations: 329.8 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6533/2.562, allocations: 291.1 MB / 1.069 GB, free: 389.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/2.562, allocations: 49.33 kB / 1.069 GB, free: 389.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=77): time 2.314e-06/2.562, allocations: 0 / 1.069 GB, free: 389.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=77): time 0.01082/2.573, allocations: 3.253 MB / 1.073 GB, free: 386.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/2.573, allocations: 64.06 kB / 1.073 GB, free: 386.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/2.574, allocations: 0.9701 MB / 1.074 GB, free: 386.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/2.574, allocations: 36.77 kB / 1.074 GB, free: 386.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/2.574, allocations: 0.7331 MB / 1.074 GB, free: 385.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/2.574, allocations: 277.1 kB / 1.075 GB, free: 385.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/2.574, allocations: 125.9 kB / 1.075 GB, free: 385.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/2.574, allocations: 352.8 kB / 1.075 GB, free: 384.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/2.575, allocations: 330.6 kB / 1.075 GB, free: 384.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/2.575, allocations: 0.7005 MB / 1.076 GB, free: 384 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/2.576, allocations: 1.073 MB / 1.077 GB, free: 383.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/2.576, allocations: 4 kB / 1.077 GB, free: 383.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001927/2.578, allocations: 1.448 MB / 1.079 GB, free: 382 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/2.578, allocations: 12.84 kB / 1.079 GB, free: 382 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/2.578, allocations: 14.81 kB / 1.079 GB, free: 382 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007643/2.586, allocations: 1.895 MB / 1.08 GB, free: 380.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/2.586, allocations: 167.4 kB / 1.081 GB, free: 380.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/2.588, allocations: 1.432 MB / 1.082 GB, free: 378.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/2.589, allocations: 154.1 kB / 1.082 GB, free: 378.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/2.589, allocations: 59.8 kB / 1.082 GB, free: 378.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 26 (volumeA.Cs1.ftype,sourceP2.C.ftype,sourceP1.C.ftype,volumeA.Cs2.ftype,volumeA.Cs2.diff_on_2,volumeA.fluids[1],volumeA.Ce1.diff_on_1,controlValve2.C2.diff_on_1,volumeA.Cs1.diff_on_2,sinkP.fluid,lumpedStraightPipe1.fluid,lumpedStraightPipe3.fluid,lumpedStraightPipe2.fluid,controlValve1.fluid,controlValve2.fluid,controlValve3.fluid,sourceP2.fluid1,volumeA.fluid1,sourceP1.fluid1,volumeA.Cs1.diff_on_1,lumpedStraightPipe3.C2.diff_on_1,volumeA.Ce2.diff_on_2,lumpedStraightPipe2.C1.diff_on_2,volumeA.Ce1.diff_on_2,lumpedStraightPipe1.C1.diff_on_2,volumeA.Cs2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {(12,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0003496/2.589, allocations: 314.1 kB / 1.083 GB, free: 378.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/2.589, allocations: 118.4 kB / 1.083 GB, free: 378.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/2.591, allocations: 1.183 MB / 1.084 GB, free: 377.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/2.591, allocations: 12.69 kB / 1.084 GB, free: 377.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/2.591, allocations: 0 / 1.084 GB, free: 377.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/2.591, allocations: 3.984 kB / 1.084 GB, free: 377.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/2.592, allocations: 1.068 MB / 1.085 GB, free: 376.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/2.592, allocations: 0 / 1.085 GB, free: 376.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/2.592, allocations: 52.94 kB / 1.085 GB, free: 376.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006457/2.598, allocations: 1.587 MB / 1.086 GB, free: 375.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/2.599, allocations: 19.81 kB / 1.086 GB, free: 375.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/2.6, allocations: 1.448 MB / 1.088 GB, free: 374.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/2.6, allocations: 0 / 1.088 GB, free: 374.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/2.601, allocations: 1.105 MB / 1.089 GB, free: 373.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/2.602, allocations: 291.8 kB / 1.089 GB, free: 373 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-05/2.602, allocations: 11.88 kB / 1.089 GB, free: 373 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/2.602, allocations: 27.8 kB / 1.089 GB, free: 373 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/2.602, allocations: 56.64 kB / 1.089 GB, free: 373 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/2.602, allocations: 35.8 kB / 1.089 GB, free: 372.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005158/2.603, allocations: 0.6127 MB / 1.09 GB, free: 372.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/2.603, allocations: 0 / 1.09 GB, free: 372.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003465/2.606, allocations: 2.107 MB / 1.092 GB, free: 370.7 MB / 0.8106 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 (20): * Single equations (assignments): 19 * 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 {(10,54)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006244/2.612, allocations: 2.917 MB / 1.095 GB, free: 368.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001622/2.614, allocations: 1.012 MB / 1.096 GB, free: 367.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.614, allocations: 0 / 1.096 GB, free: 367.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008852/2.615, allocations: 489 kB / 1.096 GB, free: 367.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/2.616, allocations: 237.2 kB / 1.097 GB, free: 367.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/2.618, allocations: 2.875 MB / 1.099 GB, free: 364.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/2.619, allocations: 1.172 MB / 1.101 GB, free: 363.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/2.619, allocations: 78.98 kB / 1.101 GB, free: 363.1 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/2.619, allocations: 0 / 1.101 GB, free: 363.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.03894/2.658, allocations: 47.84 MB / 1.147 GB, free: 316.3 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeA.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.TestVolumeACalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeACalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeACalcHelperMain.o] Error 1