Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.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.TestStaticCondenserHEI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6951/0.6951, allocations: 150.8 MB / 166.7 MB, free: 15.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.4e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 31.98 MB / 237.4 MB, free: 5.414 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.TestStaticCondenserHEI): time 1.33/1.455, allocations: 299.5 MB / 0.5243 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4053/1.86, allocations: 191.9 MB / 0.7117 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/1.861, allocations: 30.62 kB / 0.7117 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007412/1.862, allocations: 252.4 kB / 0.712 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/1.864, allocations: 0.6234 MB / 0.7126 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02185/1.886, allocations: 9.997 MB / 0.7224 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00186/1.887, allocations: 2.417 MB / 0.7247 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000776/1.888, allocations: 1.055 MB / 0.7257 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006578/1.889, allocations: 0.8152 MB / 0.7265 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/1.889, allocations: 0.8965 MB / 0.7274 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/1.89, allocations: 89.56 kB / 0.7275 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02752/1.917, allocations: 21.55 MB / 0.7485 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003431/1.917, allocations: 336 kB / 0.7489 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/1.919, allocations: 0.9978 MB / 0.7498 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/1.929, allocations: 8.676 MB / 0.7583 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.929, allocations: 0 / 0.7583 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/1.929, allocations: 2.906 kB / 0.7583 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.602e-05/1.929, allocations: 0 / 0.7583 GB, free: 13.25 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: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.005858/1.935, allocations: 3.168 MB / 0.7614 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/1.935, allocations: 8.969 kB / 0.7614 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/1.935, allocations: 248.6 kB / 0.7617 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/1.936, allocations: 0.875 MB / 0.7625 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/1.936, allocations: 211.7 kB / 0.7627 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.937, allocations: 193.2 kB / 0.7629 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/1.939, allocations: 2.128 MB / 0.765 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/1.939, allocations: 8.375 kB / 0.765 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.939, allocations: 80.03 kB / 0.7651 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/1.939, allocations: 68.48 kB / 0.7651 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/1.942, allocations: 1.564 MB / 0.7666 GB, free: 9.598 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.2221/2.164, allocations: 138.3 MB / 0.9017 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/2.165, allocations: 0.8118 MB / 0.9025 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/2.165, allocations: 453.7 kB / 0.903 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6318/2.797, allocations: 241.6 MB / 1.139 GB, free: 95.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/2.797, allocations: 56.44 kB / 1.139 GB, free: 95.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=132): time 2.644e-06/2.797, allocations: 0 / 1.139 GB, free: 95.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=132): time 0.01076/2.808, allocations: 3.683 MB / 1.143 GB, free: 92.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/2.808, allocations: 170 kB / 1.143 GB, free: 92.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/2.809, allocations: 1.178 MB / 1.144 GB, free: 91.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/2.809, allocations: 36.89 kB / 1.144 GB, free: 91.47 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/2.81, allocations: 0.9224 MB / 1.145 GB, free: 90.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/2.81, allocations: 456.8 kB / 1.145 GB, free: 90.44 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/2.81, allocations: 193.6 kB / 1.145 GB, free: 90.31 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.056e-05/2.81, allocations: 301.1 kB / 1.146 GB, free: 90.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/2.811, allocations: 472.4 kB / 1.146 GB, free: 89.72 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008512/2.812, allocations: 1.019 MB / 1.147 GB, free: 88.67 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/2.813, allocations: 1.55 MB / 1.149 GB, free: 87.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/2.813, allocations: 5.312 kB / 1.149 GB, free: 87.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003263/2.816, allocations: 2.191 MB / 1.151 GB, free: 85.89 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/2.816, allocations: 16 kB / 1.151 GB, free: 85.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/2.816, allocations: 16 kB / 1.151 GB, free: 85.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004489/2.821, allocations: 1.653 MB / 1.152 GB, free: 84.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/2.822, allocations: 246.6 kB / 1.153 GB, free: 84.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/2.824, allocations: 4.625 MB / 1.157 GB, free: 79.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/2.825, allocations: 214.8 kB / 1.157 GB, free: 79.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/2.825, allocations: 82.67 kB / 1.157 GB, free: 79.49 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 36 (condenseur.Cex.ftype,Source_condenseur.C.ftype,sourceP.C.ftype,sourceP2.C.ftype,sourceP1.C.ftype,Puit_condenseur.fluid,condenseur.fluid_p,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,condenseur.HEI,sourceP2.fluid1,sourceP1.fluid1,sourceP.fluid1,Source_condenseur.fluid1,singularPressureLoss5.C1.diff_on_2,condenseur.Cex.diff_on_1,singularPressureLoss5.C2.diff_on_1,condenseur.Cee.diff_on_2,Source_condenseur.C.diff_on_2,condenseur.Cse.diff_on_1,singularPressureLoss4.C2.diff_on_1,condenseur.Cvt.diff_on_2,sourceP.C.diff_on_2,singularPressureLoss3.C2.diff_on_1,condenseur.Cep.diff_on_2,sourceP2.C.diff_on_2,singularPressureLoss1.C2.diff_on_1,condenseur.Cev.diff_on_2,sourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1,condenseur.fluids[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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): 7 systems {(1,3), (1,2), (1,3), (1,3), (1,3), (1,3), (4,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0004461/2.826, allocations: 358.5 kB / 1.158 GB, free: 79.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/2.826, allocations: 142.2 kB / 1.158 GB, free: 79.12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/2.828, allocations: 1.949 MB / 1.16 GB, free: 77.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001676/2.83, allocations: 1.453 MB / 1.161 GB, free: 76.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/2.83, allocations: 0 / 1.161 GB, free: 76.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/2.83, allocations: 15.97 kB / 1.161 GB, free: 76.87 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/2.835, allocations: 4.32 MB / 1.166 GB, free: 73.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/2.835, allocations: 8.219 kB / 1.166 GB, free: 73.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/2.835, allocations: 116.4 kB / 1.166 GB, free: 73.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003948/2.839, allocations: 1.566 MB / 1.167 GB, free: 72.15 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/2.839, allocations: 30.56 kB / 1.167 GB, free: 72.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/2.842, allocations: 3.185 MB / 1.17 GB, free: 69.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.842, allocations: 4.062 kB / 1.17 GB, free: 69.28 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/2.844, allocations: 1.8 MB / 1.172 GB, free: 67.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/2.844, allocations: 338.1 kB / 1.172 GB, free: 67.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/2.844, allocations: 26.31 kB / 1.172 GB, free: 67.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/2.845, allocations: 40.44 kB / 1.172 GB, free: 67.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/2.845, allocations: 83.89 kB / 1.173 GB, free: 67.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/2.845, allocations: 39.36 kB / 1.173 GB, free: 67.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006854/2.845, allocations: 0.7436 MB / 1.173 GB, free: 66.97 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/2.846, allocations: 0 / 1.173 GB, free: 66.97 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003693/2.849, allocations: 2.014 MB / 1.175 GB, free: 65.27 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (condenseur.HEI,Source_condenseur.C.diff_on_2,singularPressureLoss4.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,3), (1,3), (1,2), (8,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005785/2.855, allocations: 2.507 MB / 1.178 GB, free: 63.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002335/2.857, allocations: 1.757 MB / 1.179 GB, free: 62.01 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/2.857, allocations: 4.625 kB / 1.179 GB, free: 62.01 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/2.859, allocations: 0.7923 MB / 1.18 GB, free: 61.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/2.861, allocations: 0.5327 MB / 1.181 GB, free: 61.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/2.865, allocations: 4.044 MB / 1.185 GB, free: 57.21 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/2.865, allocations: 1.385 MB / 1.186 GB, free: 55.79 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/2.865, allocations: 110.8 kB / 1.186 GB, free: 55.7 MB / 0.8106 GB Notification: Performance of SimCode: time 4e-07/2.865, allocations: 0 / 1.186 GB, free: 55.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.2085/3.074, allocations: 89.97 MB / 1.274 GB, free: 461.3 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.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.TestStaticCondenserHEICalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEICalcHelperMain.o] Error 1