Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.45e-05, allocations: 4 kB / 205.4 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1193, allocations: 31.97 MB / 237.4 MB, free: 5.406 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.TestStaticWaterWaterExchanger): time 1.316/1.435, allocations: 295.1 MB / 0.52 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02609/1.461, allocations: 25.59 MB / 0.545 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/1.462, allocations: 4 kB / 0.545 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/1.462, allocations: 139.2 kB / 0.5452 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/1.462, allocations: 226.3 kB / 0.5454 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009674/1.472, allocations: 5.263 MB / 0.5505 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000711/1.473, allocations: 0.9178 MB / 0.5514 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/1.473, allocations: 244 kB / 0.5517 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/1.473, allocations: 326.4 kB / 0.552 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/1.473, allocations: 294.5 kB / 0.5522 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/1.473, allocations: 24 kB / 0.5523 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01783/1.491, allocations: 15.18 MB / 0.5671 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/1.491, allocations: 99.53 kB / 0.5672 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/1.492, allocations: 351.9 kB / 0.5675 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00412/1.496, allocations: 4.517 MB / 0.5719 GB, free: 6.953 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/1.496, allocations: 0 / 0.5719 GB, free: 6.953 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.595e-06/1.496, allocations: 8 kB / 0.5719 GB, free: 6.945 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/1.496, allocations: 0 / 0.5719 GB, free: 6.945 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002862/1.499, allocations: 1.435 MB / 0.5733 GB, free: 5.461 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/1.499, allocations: 8.031 kB / 0.5734 GB, free: 5.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/1.499, allocations: 73.41 kB / 0.5734 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/1.499, allocations: 345.8 kB / 0.5738 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.499, allocations: 130 kB / 0.5739 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/1.499, allocations: 52 kB / 0.5739 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.5, allocations: 0.7913 MB / 0.5747 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.5, allocations: 4 kB / 0.5747 GB, free: 3.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/1.501, allocations: 16 kB / 0.5747 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/1.501, allocations: 35.97 kB / 0.5748 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009723/1.502, allocations: 0.5904 MB / 0.5753 GB, free: 3.332 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.06478/1.566, allocations: 36.68 MB / 0.6112 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/1.568, allocations: 0.5485 MB / 0.6117 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/1.568, allocations: 358.8 kB / 0.612 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06529/1.633, allocations: 33.92 MB / 0.6452 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/1.633, allocations: 38.56 kB / 0.6452 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.214e-06/1.633, allocations: 0 / 0.6452 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01644/1.65, allocations: 3.476 MB / 0.6486 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/1.65, allocations: 59.41 kB / 0.6486 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/1.65, allocations: 336.4 kB / 0.649 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/1.65, allocations: 29.7 kB / 0.649 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.65, allocations: 225.3 kB / 0.6492 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/1.651, allocations: 409.7 kB / 0.6496 GB, free: 172 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/1.651, allocations: 85.66 kB / 0.6497 GB, free: 80 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.651, allocations: 370.8 kB / 0.65 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/1.651, allocations: 285.6 kB / 0.6503 GB, free: 15.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/1.652, allocations: 397.1 kB / 0.6507 GB, free: 15.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.653, allocations: 0.7303 MB / 0.6514 GB, free: 14.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.653, allocations: 4 kB / 0.6514 GB, free: 14.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003868/1.657, allocations: 1.31 MB / 0.6527 GB, free: 12.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.657, allocations: 4 kB / 0.6527 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.657, allocations: 4 kB / 0.6527 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/1.66, allocations: 1.391 MB / 0.654 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/1.66, allocations: 27.92 kB / 0.6541 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/1.662, allocations: 1.393 MB / 0.6554 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/1.663, allocations: 90.95 kB / 0.6555 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/1.663, allocations: 27.98 kB / 0.6555 GB, free: 9.961 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001949/1.663, allocations: 178.3 kB / 0.6557 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/1.663, allocations: 51.25 kB / 0.6558 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/1.667, allocations: 3.967 MB / 0.6596 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002531/1.669, allocations: 1.329 MB / 0.6609 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.669, allocations: 3.938 kB / 0.6609 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.669, allocations: 7.984 kB / 0.6609 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005907/1.675, allocations: 2.923 MB / 0.6638 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.675, allocations: 0 / 0.6638 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/1.676, allocations: 95.89 kB / 0.6639 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/1.679, allocations: 1.441 MB / 0.6653 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/1.679, allocations: 20.11 kB / 0.6653 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.681, allocations: 1.495 MB / 0.6668 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.681, allocations: 7.984 kB / 0.6668 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/1.685, allocations: 1.507 MB / 0.6683 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/1.685, allocations: 223.6 kB / 0.6685 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/1.685, allocations: 12 kB / 0.6685 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.686, allocations: 39.83 kB / 0.6685 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/1.686, allocations: 52.92 kB / 0.6686 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/1.686, allocations: 27.98 kB / 0.6686 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003634/1.686, allocations: 383.1 kB / 0.669 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.686, allocations: 7.938 kB / 0.669 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00193/1.688, allocations: 1.046 MB / 0.67 GB, free: 10.86 MB / 0.5606 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 (62): * Single equations (assignments): 61 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003014/1.691, allocations: 1.203 MB / 0.6712 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001751/1.693, allocations: 1.15 MB / 0.6723 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.693, allocations: 0 / 0.6723 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009612/1.694, allocations: 0.5276 MB / 0.6728 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.696, allocations: 416.3 kB / 0.6732 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/1.698, allocations: 1.998 MB / 0.6752 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/1.699, allocations: 0.9948 MB / 0.6761 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/1.699, allocations: 43.44 kB / 0.6762 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/1.699, allocations: 0 / 0.6762 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of Templates: time 0.1616/1.86, allocations: 28.43 MB / 0.7039 GB, free: 227.5 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.TestStaticWaterWaterExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerCalcHelperMain.o] Error 1