Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank.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.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6791/0.6791, allocations: 150.8 MB / 166.7 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.313e-05, allocations: 4 kB / 205.4 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, 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.TestTank): time 1.303/1.412, allocations: 296.5 MB / 0.5214 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3977/1.81, allocations: 195.2 MB / 0.712 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005071/1.811, allocations: 14.84 kB / 0.712 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/1.811, allocations: 104 kB / 0.7121 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007479/1.812, allocations: 352.5 kB / 0.7124 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02317/1.835, allocations: 11.22 MB / 0.7234 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001045/1.836, allocations: 1.52 MB / 0.7249 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004816/1.836, allocations: 0.6487 MB / 0.7255 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/1.837, allocations: 0.5126 MB / 0.726 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/1.837, allocations: 0.6073 MB / 0.7266 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/1.837, allocations: 66.53 kB / 0.7267 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02859/1.866, allocations: 22.77 MB / 0.7489 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/1.866, allocations: 241.5 kB / 0.7491 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005981/1.867, allocations: 0.6274 MB / 0.7497 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/1.877, allocations: 8.627 MB / 0.7582 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.877, allocations: 0 / 0.7582 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/1.877, allocations: 0 / 0.7582 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.352e-05/1.877, allocations: 0 / 0.7582 GB, free: 13.87 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.00597/1.883, allocations: 2.932 MB / 0.761 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/1.883, allocations: 8.609 kB / 0.761 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/1.884, allocations: 154.3 kB / 0.7612 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/1.884, allocations: 0.632 MB / 0.7618 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.884e-05/1.884, allocations: 128 kB / 0.7619 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/1.885, allocations: 128 kB / 0.762 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/1.887, allocations: 1.49 MB / 0.7635 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.887, allocations: 2.906 kB / 0.7635 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/1.887, allocations: 59.52 kB / 0.7636 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/1.887, allocations: 34.09 kB / 0.7636 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/1.89, allocations: 1.375 MB / 0.7649 GB, free: 10.69 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.0216/1.911, allocations: 20.12 MB / 0.7846 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/1.913, allocations: 1.034 MB / 0.7856 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008709/1.914, allocations: 373.6 kB / 0.7859 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.744/2.658, allocations: 286.5 MB / 1.066 GB, free: 183.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/2.658, allocations: 43.62 kB / 1.066 GB, free: 183.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=58): time 1.854e-06/2.658, allocations: 0 / 1.066 GB, free: 183.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58): time 0.005645/2.664, allocations: 2.057 MB / 1.068 GB, free: 181.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/2.664, allocations: 81.67 kB / 1.068 GB, free: 181.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/2.665, allocations: 0.8019 MB / 1.069 GB, free: 180.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/2.665, allocations: 40.39 kB / 1.069 GB, free: 180.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/2.665, allocations: 0.598 MB / 1.069 GB, free: 180.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.382e-05/2.665, allocations: 215.4 kB / 1.069 GB, free: 180.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/2.665, allocations: 102.7 kB / 1.07 GB, free: 180.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/2.665, allocations: 394.2 kB / 1.07 GB, free: 179.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008481/2.666, allocations: 376.8 kB / 1.07 GB, free: 179.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009429/2.667, allocations: 0.789 MB / 1.071 GB, free: 178.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/2.669, allocations: 1.193 MB / 1.072 GB, free: 177.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/2.669, allocations: 4 kB / 1.072 GB, free: 177.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002654/2.672, allocations: 1.463 MB / 1.074 GB, free: 176.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/2.672, allocations: 12.75 kB / 1.074 GB, free: 176.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/2.672, allocations: 12 kB / 1.074 GB, free: 176.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004525/2.676, allocations: 1.027 MB / 1.075 GB, free: 175.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/2.677, allocations: 239.9 kB / 1.075 GB, free: 175.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/2.678, allocations: 1.073 MB / 1.076 GB, free: 174.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/2.679, allocations: 185.4 kB / 1.076 GB, free: 174.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/2.679, allocations: 57.42 kB / 1.076 GB, free: 174.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (Tank1.Cs1.ftype,Tank1.Cs2.ftype,Tank1.Ce2.ftype,SourceP1.C.ftype,Tank1.fluids[1],PerteDP1.fluid,VanneReglante1.fluid,PuitsP1.fluid,PerteDP2.fluid,PuitsP2.fluid,Tank1.fluid1,SourceP1.fluid1,Tank1.Cs1.diff_on_1,Tank1.Cs2.diff_on_1,Tank1.Ce2.diff_on_2,Tank1.Ce1.diff_on_2,SourceP1.C.diff_on_2,Tank1.Ce2.diff_on_1,VanneReglante1.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002818/2.679, allocations: 283.3 kB / 1.076 GB, free: 174 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/2.679, allocations: 96.05 kB / 1.077 GB, free: 173.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/2.682, allocations: 1.188 MB / 1.078 GB, free: 173 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/2.682, allocations: 8 kB / 1.078 GB, free: 173 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/2.682, allocations: 0 / 1.078 GB, free: 173 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/2.682, allocations: 7.859 kB / 1.078 GB, free: 173 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/2.685, allocations: 2.199 MB / 1.08 GB, free: 171.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/2.685, allocations: 0 / 1.08 GB, free: 171.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/2.686, allocations: 185.6 kB / 1.08 GB, free: 171.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/2.689, allocations: 0.6531 MB / 1.081 GB, free: 170.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/2.689, allocations: 23.05 kB / 1.081 GB, free: 170.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/2.69, allocations: 2.498 MB / 1.083 GB, free: 168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.69, allocations: 5.078 kB / 1.083 GB, free: 168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/2.694, allocations: 1.6 MB / 1.085 GB, free: 166.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/2.694, allocations: 249.7 kB / 1.085 GB, free: 166.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/2.694, allocations: 19.44 kB / 1.085 GB, free: 166.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/2.694, allocations: 67.62 kB / 1.085 GB, free: 166.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/2.695, allocations: 59.09 kB / 1.085 GB, free: 166.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/2.695, allocations: 23.94 kB / 1.085 GB, free: 166.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004035/2.695, allocations: 0.5088 MB / 1.086 GB, free: 166 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.695, allocations: 0 / 1.086 GB, free: 166 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003498/2.699, allocations: 2.02 MB / 1.088 GB, free: 164.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Tank1.z,Tank1.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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,8), (2,9), (2,9), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005329/2.704, allocations: 2.915 MB / 1.09 GB, free: 162.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002249/2.706, allocations: 1.048 MB / 1.091 GB, free: 161.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/2.706, allocations: 0 / 1.091 GB, free: 161.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/2.707, allocations: 0.4901 MB / 1.092 GB, free: 160.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/2.708, allocations: 180.5 kB / 1.092 GB, free: 160.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/2.71, allocations: 2.394 MB / 1.094 GB, free: 158.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/2.711, allocations: 1.055 MB / 1.095 GB, free: 157.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/2.711, allocations: 79.05 kB / 1.096 GB, free: 157.3 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/2.711, allocations: 0 / 1.096 GB, free: 157.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.03967/2.75, allocations: 50.64 MB / 1.145 GB, free: 107 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank.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.TestTankCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankCalcHelperMain.o] Error 1