Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6983/0.6983, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.437e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 31.99 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.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff): time 1.321/1.436, allocations: 294.9 MB / 0.5198 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02715/1.463, allocations: 26.7 MB / 0.5458 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/1.463, allocations: 4 kB / 0.5459 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/1.464, allocations: 171 kB / 0.546 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/1.464, allocations: 194.5 kB / 0.5462 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009762/1.474, allocations: 5.469 MB / 0.5515 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006175/1.475, allocations: 0.7631 MB / 0.5523 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/1.475, allocations: 207.8 kB / 0.5525 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/1.475, allocations: 270.6 kB / 0.5527 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/1.475, allocations: 222.8 kB / 0.553 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/1.475, allocations: 16 kB / 0.553 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01949/1.495, allocations: 16.95 MB / 0.5695 GB, free: 9.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/1.495, allocations: 71.58 kB / 0.5696 GB, free: 9.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/1.495, allocations: 296.2 kB / 0.5699 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004369/1.5, allocations: 4.665 MB / 0.5744 GB, free: 4.461 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/1.5, allocations: 0 / 0.5744 GB, free: 4.461 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/1.5, allocations: 0 / 0.5744 GB, free: 4.461 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/1.5, allocations: 3.938 kB / 0.5744 GB, free: 4.457 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002529/1.502, allocations: 1.361 MB / 0.5758 GB, free: 3.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/1.502, allocations: 8.031 kB / 0.5758 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/1.502, allocations: 62.11 kB / 0.5758 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/1.502, allocations: 311.2 kB / 0.5761 GB, free: 2.637 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/1.503, allocations: 59.27 kB / 0.5762 GB, free: 2.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/1.503, allocations: 40.12 kB / 0.5762 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/1.503, allocations: 0.6329 MB / 0.5768 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.503, allocations: 7.938 kB / 0.5768 GB, free: 1.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/1.504, allocations: 16 kB / 0.5769 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/1.504, allocations: 31.97 kB / 0.5769 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006419/1.504, allocations: 435 kB / 0.5773 GB, free: 1.383 MB / 462.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.03352/1.538, allocations: 19.56 MB / 0.5964 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/1.538, allocations: 340.9 kB / 0.5967 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/1.539, allocations: 274.7 kB / 0.597 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07947/1.618, allocations: 41.66 MB / 0.6377 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/1.618, allocations: 34.56 kB / 0.6377 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 1.874e-06/1.618, allocations: 0 / 0.6377 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004048/1.622, allocations: 1.459 MB / 0.6391 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/1.622, allocations: 55.41 kB / 0.6392 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/1.623, allocations: 345.5 kB / 0.6395 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/1.623, allocations: 25.7 kB / 0.6395 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.623, allocations: 197.3 kB / 0.6397 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/1.623, allocations: 338.8 kB / 0.6401 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/1.623, allocations: 69.67 kB / 0.6401 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.623, allocations: 366.8 kB / 0.6405 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/1.623, allocations: 192.9 kB / 0.6407 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/1.624, allocations: 290.4 kB / 0.6409 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/1.624, allocations: 0.5589 MB / 0.6415 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.624, allocations: 3.938 kB / 0.6415 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001104/1.626, allocations: 0.7627 MB / 0.6422 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.626, allocations: 4 kB / 0.6422 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.626, allocations: 4 kB / 0.6422 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/1.628, allocations: 0.7168 MB / 0.6429 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/1.628, allocations: 15.92 kB / 0.643 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/1.629, allocations: 1.05 MB / 0.644 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/1.629, allocations: 67.19 kB / 0.644 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/1.629, allocations: 19.98 kB / 0.6441 GB, free: 6.824 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001671/1.63, allocations: 174.3 kB / 0.6442 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/1.63, allocations: 51.25 kB / 0.6443 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/1.632, allocations: 2.067 MB / 0.6463 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001281/1.633, allocations: 1.007 MB / 0.6473 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.633, allocations: 3.984 kB / 0.6473 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.633, allocations: 3.984 kB / 0.6473 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/1.636, allocations: 2.353 MB / 0.6496 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.636, allocations: 4 kB / 0.6496 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/1.636, allocations: 87.91 kB / 0.6497 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/1.638, allocations: 0.7356 MB / 0.6504 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/1.638, allocations: 12 kB / 0.6504 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/1.639, allocations: 1.121 MB / 0.6515 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.639, allocations: 0 / 0.6515 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/1.641, allocations: 1.132 MB / 0.6526 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/1.641, allocations: 231.7 kB / 0.6528 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/1.641, allocations: 15.98 kB / 0.6528 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/1.641, allocations: 23.98 kB / 0.6529 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/1.641, allocations: 48.58 kB / 0.6529 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/1.641, allocations: 20 kB / 0.6529 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000297/1.641, allocations: 319.1 kB / 0.6532 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.641, allocations: 0 / 0.6532 GB, free: 13.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001731/1.643, allocations: 0.9682 MB / 0.6542 GB, free: 12.24 MB / 0.545 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002867/1.646, allocations: 1.151 MB / 0.6553 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001494/1.648, allocations: 0.9956 MB / 0.6563 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.648, allocations: 0.5 kB / 0.6563 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/1.649, allocations: 0.4947 MB / 0.6568 GB, free: 9.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.65, allocations: 380.5 kB / 0.6571 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/1.652, allocations: 1.774 MB / 0.6589 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/1.652, allocations: 0.9671 MB / 0.6598 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/1.653, allocations: 47.38 kB / 0.6598 GB, free: 6.336 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/1.653, allocations: 0 / 0.6598 GB, free: 6.336 MB / 0.545 GB Notification: Performance of Templates: time 0.02737/1.68, allocations: 26.64 MB / 0.6859 GB, free: 11.7 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.TestStaticWaterWaterExchangerDTorWorEffCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEffCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEffCalcHelperMain.o] Error 1