Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating0.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.TestNTUWaterHeating0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating0") translateModel(ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6829/0.6829, allocations: 150.8 MB / 166.7 MB, free: 15.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.785e-05, allocations: 4 kB / 205.4 MB, free: 9.805 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 31.98 MB / 237.4 MB, free: 5.457 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.TestNTUWaterHeating0): time 1.312/1.432, allocations: 297 MB / 0.5219 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03898/1.471, allocations: 39.78 MB / 0.5607 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/1.472, allocations: 4 kB / 0.5607 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/1.472, allocations: 226.6 kB / 0.5609 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006994/1.473, allocations: 393.1 kB / 0.5613 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01608/1.489, allocations: 7.821 MB / 0.5689 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/1.491, allocations: 1.498 MB / 0.5704 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/1.491, allocations: 401.4 kB / 0.5708 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/1.491, allocations: 0.5053 MB / 0.5713 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/1.492, allocations: 449.6 kB / 0.5717 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/1.492, allocations: 36 kB / 0.5717 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02088/1.513, allocations: 15.92 MB / 0.5873 GB, free: 7.195 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/1.513, allocations: 155.1 kB / 0.5874 GB, free: 7.043 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005095/1.513, allocations: 0.5495 MB / 0.588 GB, free: 6.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006204/1.52, allocations: 5.983 MB / 0.5938 GB, free: 496 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/1.52, allocations: 0 / 0.5938 GB, free: 496 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.232e-06/1.52, allocations: 0 / 0.5938 GB, free: 496 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/1.52, allocations: 4 kB / 0.5938 GB, free: 492 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.003381/1.523, allocations: 1.994 MB / 0.5958 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/1.523, allocations: 8.031 kB / 0.5958 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/1.523, allocations: 122.4 kB / 0.5959 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/1.524, allocations: 444.9 kB / 0.5963 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/1.524, allocations: 172.8 kB / 0.5965 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/1.524, allocations: 72 kB / 0.5966 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/1.525, allocations: 1.28 MB / 0.5978 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.525, allocations: 3.938 kB / 0.5978 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/1.525, allocations: 32 kB / 0.5978 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/1.526, allocations: 67.88 kB / 0.5979 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/1.527, allocations: 0.9238 MB / 0.5988 GB, free: 11.18 MB / 494.1 MB 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.004042/1.531, allocations: 5.803 MB / 0.6045 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/1.532, allocations: 0.8039 MB / 0.6053 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007095/1.532, allocations: 0.6612 MB / 0.6059 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3395/1.872, allocations: 111.6 MB / 0.7149 GB, free: 211.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.872, allocations: 41.55 kB / 0.715 GB, free: 211.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=233): time 2.374e-06/1.872, allocations: 0 / 0.715 GB, free: 211.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=233): time 0.006903/1.879, allocations: 3.591 MB / 0.7185 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/1.879, allocations: 60.34 kB / 0.7185 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/1.879, allocations: 427.5 kB / 0.7189 GB, free: 210.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/1.879, allocations: 31.95 kB / 0.719 GB, free: 210.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.879, allocations: 299.5 kB / 0.7193 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/1.88, allocations: 0.7372 MB / 0.72 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.88, allocations: 136.6 kB / 0.7201 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/1.88, allocations: 335.5 kB / 0.7204 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/1.88, allocations: 493.3 kB / 0.7209 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/1.881, allocations: 0.7122 MB / 0.7216 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/1.882, allocations: 1.376 MB / 0.7229 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.882, allocations: 0 / 0.7229 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.002153/1.885, allocations: 1.936 MB / 0.7248 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.885, allocations: 3.969 kB / 0.7248 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.885, allocations: 6.344 kB / 0.7248 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003458/1.888, allocations: 2.438 MB / 0.7272 GB, free: 208.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/1.888, allocations: 32.78 kB / 0.7273 GB, free: 208.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/1.891, allocations: 3.093 MB / 0.7303 GB, free: 207.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/1.891, allocations: 148.2 kB / 0.7304 GB, free: 207.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/1.891, allocations: 31.22 kB / 0.7304 GB, free: 207.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 18 (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,nTUWaterHeating.Ep.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (11,21)} Notification: Performance of prepare postOptimizeDAE: time 0.000245/1.891, allocations: 239.2 kB / 0.7307 GB, free: 207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/1.891, allocations: 91.97 kB / 0.7308 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/1.894, allocations: 2.888 MB / 0.7336 GB, free: 206.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002208/1.896, allocations: 2.254 MB / 0.7358 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.896, allocations: 4.5 kB / 0.7358 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.896, allocations: 13.3 kB / 0.7358 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/1.901, allocations: 5.298 MB / 0.741 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.901, allocations: 3.938 kB / 0.741 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/1.901, allocations: 160.4 kB / 0.7411 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/1.904, allocations: 2.498 MB / 0.7436 GB, free: 203.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/1.905, allocations: 31.86 kB / 0.7436 GB, free: 203.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/1.907, allocations: 3.213 MB / 0.7467 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.907, allocations: 4 kB / 0.7467 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/1.909, allocations: 2.458 MB / 0.7491 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/1.909, allocations: 328.8 kB / 0.7495 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/1.909, allocations: 35.8 kB / 0.7495 GB, free: 197.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/1.91, allocations: 59.55 kB / 0.7495 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/1.91, allocations: 91.67 kB / 0.7496 GB, free: 197.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/1.91, allocations: 40 kB / 0.7497 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002244/1.91, allocations: 336.5 kB / 0.75 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.91, allocations: 0 / 0.75 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002048/1.912, allocations: 1.343 MB / 0.7513 GB, free: 195.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (11,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003147/1.915, allocations: 1.695 MB / 0.753 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002252/1.917, allocations: 2.02 MB / 0.7549 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.917, allocations: 4 kB / 0.7549 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.919, allocations: 1.185 MB / 0.7561 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/1.922, allocations: 0.6202 MB / 0.7567 GB, free: 191.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/1.924, allocations: 3.308 MB / 0.7599 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/1.925, allocations: 1.202 MB / 0.7611 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/1.925, allocations: 67.44 kB / 0.7612 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/1.925, allocations: 0 / 0.7612 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03278/1.957, allocations: 47.7 MB / 0.8077 GB, free: 139.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating0.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating0.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.TestNTUWaterHeating0CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestNTUWaterHeating0CalcHelperMain.o] Error 1