Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2.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.Examples.SimpleExamples.TestNTUWaterHeating2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6902/0.6902, allocations: 150.8 MB / 166.7 MB, free: 15.69 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.344e-05/1.345e-05, allocations: 4 kB / 205.4 MB, free: 10.22 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, 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.Examples.SimpleExamples.TestNTUWaterHeating2): time 1.322/1.44, allocations: 300.8 MB / 0.5256 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04021/1.48, allocations: 40.8 MB / 0.5654 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/1.48, allocations: 12 kB / 0.5654 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005696/1.481, allocations: 345.7 kB / 0.5658 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/1.482, allocations: 0.7252 MB / 0.5665 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01644/1.498, allocations: 8.025 MB / 0.5743 GB, free: 4.535 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/1.501, allocations: 2.837 MB / 0.5771 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/1.501, allocations: 0.729 MB / 0.5778 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008786/1.502, allocations: 0.9484 MB / 0.5787 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/1.503, allocations: 0.8158 MB / 0.5795 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-05/1.503, allocations: 72 kB / 0.5796 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02109/1.524, allocations: 15.95 MB / 0.5952 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/1.524, allocations: 282.4 kB / 0.5954 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008562/1.525, allocations: 1 MB / 0.5964 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006617/1.532, allocations: 6.747 MB / 0.603 GB, free: 7.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/1.532, allocations: 0 / 0.603 GB, free: 7.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/1.532, allocations: 3.938 kB / 0.603 GB, free: 7.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/1.532, allocations: 0 / 0.603 GB, free: 7.062 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 686 * Number of variables: 686 Notification: Performance of Generate backend data structure: time 0.004662/1.537, allocations: 2.735 MB / 0.6057 GB, free: 4.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/1.537, allocations: 8.031 kB / 0.6057 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/1.537, allocations: 224.9 kB / 0.6059 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/1.538, allocations: 0.6585 MB / 0.6065 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/1.538, allocations: 332.2 kB / 0.6069 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/1.538, allocations: 128 kB / 0.607 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/1.541, allocations: 2.321 MB / 0.6092 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/1.541, allocations: 11.88 kB / 0.6093 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/1.541, allocations: 60 kB / 0.6093 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-05/1.541, allocations: 131.8 kB / 0.6094 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/1.543, allocations: 1.744 MB / 0.6111 GB, free: 14.42 MB / 0.4981 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.007262/1.551, allocations: 10.03 MB / 0.6209 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/1.552, allocations: 1.526 MB / 0.6224 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/1.554, allocations: 1.294 MB / 0.6237 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2778/1.831, allocations: 81.21 MB / 0.703 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/1.832, allocations: 50.03 kB / 0.703 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=452): time 2.835e-06/1.832, allocations: 0 / 0.703 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=452): time 0.02028/1.852, allocations: 8.669 MB / 0.7115 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/1.852, allocations: 65.31 kB / 0.7116 GB, free: 221 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/1.852, allocations: 0.6385 MB / 0.7122 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/1.853, allocations: 41.33 kB / 0.7122 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/1.853, allocations: 458.1 kB / 0.7127 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00054/1.853, allocations: 1.418 MB / 0.7141 GB, free: 219.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/1.853, allocations: 252.7 kB / 0.7143 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.654e-05/1.853, allocations: 356 kB / 0.7146 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/1.855, allocations: 0.9354 MB / 0.7156 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/1.856, allocations: 1.321 MB / 0.7168 GB, free: 219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/1.858, allocations: 2.595 MB / 0.7194 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.858, allocations: 2.688 kB / 0.7194 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.003853/1.862, allocations: 3.664 MB / 0.723 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.862, allocations: 7.812 kB / 0.723 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.862, allocations: 11.97 kB / 0.723 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007156/1.869, allocations: 5.968 MB / 0.7288 GB, free: 218 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/1.869, allocations: 64.17 kB / 0.7289 GB, free: 218 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/1.874, allocations: 5.545 MB / 0.7343 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/1.874, allocations: 277.7 kB / 0.7345 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/1.874, allocations: 56.97 kB / 0.7346 GB, free: 213.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 30 (singularPressureLoss7.C2.b,singularPressureLoss7.C1.a,singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sourceP1.C.b,nTUWaterHeating1.Ev.a,nTUWaterHeating1.Sp.b,nTUWaterHeating1.Ep.a,nTUWaterHeating1.Se.b,nTUWaterHeating1.Ee.a,Source_condenseur1.C.b,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,nTUWaterHeating.Ev.a,nTUWaterHeating.Sp.b,nTUWaterHeating.Ep.a,nTUWaterHeating.Se.b,nTUWaterHeating.Ee.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,Puit_condenseur1.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceP.C.b,Puit_condenseur.C.a,Source_condenseur.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,3), (1,3), (1,3), (1,3), (21,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0003872/1.875, allocations: 339.3 kB / 0.7349 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.875, allocations: 161.6 kB / 0.7351 GB, free: 213.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00485/1.88, allocations: 5.504 MB / 0.7405 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003836/1.884, allocations: 4.256 MB / 0.7446 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.884, allocations: 3.938 kB / 0.7446 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.884, allocations: 11.95 kB / 0.7446 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008708/1.892, allocations: 10.45 MB / 0.7548 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.892, allocations: 4 kB / 0.7548 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/1.893, allocations: 292.1 kB / 0.7551 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006665/1.9, allocations: 6.096 MB / 0.7611 GB, free: 186.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/1.9, allocations: 59.98 kB / 0.7611 GB, free: 186.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004027/1.904, allocations: 5.782 MB / 0.7668 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.904, allocations: 12.5 kB / 0.7668 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004692/1.909, allocations: 4.815 MB / 0.7715 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/1.909, allocations: 0.559 MB / 0.772 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.909, allocations: 47.94 kB / 0.7721 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/1.91, allocations: 112.1 kB / 0.7722 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.91, allocations: 169.7 kB / 0.7723 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/1.91, allocations: 75.98 kB / 0.7724 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003863/1.911, allocations: 0.5069 MB / 0.7729 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/1.911, allocations: 6.844 kB / 0.7729 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002643/1.913, allocations: 1.613 MB / 0.7745 GB, free: 172.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (189): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,3), (1,3), (1,3), (1,3), (21,46)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003232/1.916, allocations: 1.717 MB / 0.7762 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004111/1.921, allocations: 3.967 MB / 0.78 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.921, allocations: 4 kB / 0.78 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/1.923, allocations: 2.319 MB / 0.7823 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/1.928, allocations: 1.189 MB / 0.7835 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/1.933, allocations: 6.14 MB / 0.7895 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/1.934, allocations: 1.68 MB / 0.7911 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/1.934, allocations: 115.4 kB / 0.7912 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/1.934, allocations: 0 / 0.7912 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.05836/1.992, allocations: 93.3 MB / 0.8823 GB, free: 62.82 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating2CalcHelperMain.o] Error 1