Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6727/0.6727, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.335e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 31.98 MB / 237.4 MB, free: 5.438 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.TestDynamicWaterWaterExchanger): time 1.297/1.417, allocations: 295.2 MB / 0.5201 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02597/1.443, allocations: 25.7 MB / 0.5452 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/1.443, allocations: 4 kB / 0.5452 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/1.444, allocations: 155.1 kB / 0.5454 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/1.444, allocations: 338.1 kB / 0.5457 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009696/1.454, allocations: 5.32 MB / 0.5509 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001979/1.456, allocations: 2.685 MB / 0.5535 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005499/1.456, allocations: 0.6014 MB / 0.5541 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006391/1.457, allocations: 0.759 MB / 0.5548 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008223/1.458, allocations: 0.845 MB / 0.5557 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/1.458, allocations: 60 kB / 0.5557 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01809/1.476, allocations: 15.22 MB / 0.5706 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003463/1.476, allocations: 418.7 kB / 0.571 GB, free: 7.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006718/1.477, allocations: 0.7092 MB / 0.5717 GB, free: 7.219 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004791/1.482, allocations: 5.242 MB / 0.5768 GB, free: 1.965 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/1.482, allocations: 0 / 0.5768 GB, free: 1.965 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/1.482, allocations: 0 / 0.5768 GB, free: 1.965 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/1.482, allocations: 0 / 0.5768 GB, free: 1.965 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005151/1.487, allocations: 2.05 MB / 0.5788 GB, free: 15.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/1.487, allocations: 12.03 kB / 0.5788 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/1.487, allocations: 131.2 kB / 0.5789 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/1.488, allocations: 0.5693 MB / 0.5795 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/1.488, allocations: 105.9 kB / 0.5796 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/1.488, allocations: 103.9 kB / 0.5797 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/1.491, allocations: 1.962 MB / 0.5816 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/1.491, allocations: 8 kB / 0.5816 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.491, allocations: 40 kB / 0.5816 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/1.491, allocations: 71.88 kB / 0.5817 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/1.494, allocations: 1.91 MB / 0.5836 GB, free: 10.84 MB / 478.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.06791/1.562, allocations: 39.8 MB / 0.6225 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/1.564, allocations: 1.703 MB / 0.6241 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/1.566, allocations: 1.197 MB / 0.6253 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06445/1.63, allocations: 33.94 MB / 0.6584 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/1.63, allocations: 47.88 kB / 0.6585 GB, free: 6.949 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.056e-06/1.63, allocations: 4 kB / 0.6585 GB, free: 6.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.02662/1.657, allocations: 7.248 MB / 0.6656 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/1.657, allocations: 64.72 kB / 0.6656 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/1.657, allocations: 357.5 kB / 0.666 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/1.657, allocations: 49.7 kB / 0.666 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.657, allocations: 283.7 kB / 0.6663 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005632/1.658, allocations: 0.9465 MB / 0.6672 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/1.658, allocations: 182.7 kB / 0.6674 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/1.658, allocations: 330 kB / 0.6677 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.66, allocations: 1.019 MB / 0.6687 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/1.662, allocations: 1.212 MB / 0.6699 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/1.665, allocations: 2.46 MB / 0.6723 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.665, allocations: 0 / 0.6723 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005718/1.671, allocations: 3.745 MB / 0.6759 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.671, allocations: 8 kB / 0.6759 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.671, allocations: 4 kB / 0.6759 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01462/1.686, allocations: 4.84 MB / 0.6807 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/1.686, allocations: 35.92 kB / 0.6807 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00733/1.693, allocations: 4.885 MB / 0.6855 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/1.694, allocations: 185.7 kB / 0.6856 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.694, allocations: 67.94 kB / 0.6857 GB, free: 10.71 MB / 0.5762 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 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.000475/1.695, allocations: 371.6 kB / 0.6861 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/1.695, allocations: 102.6 kB / 0.6862 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.147/1.842, allocations: 10.92 MB / 0.6968 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005627/1.847, allocations: 4.016 MB / 0.7007 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.847, allocations: 7.312 kB / 0.7008 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/1.847, allocations: 16.64 kB / 0.7008 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.86, allocations: 8.243 MB / 0.7088 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.86, allocations: 2.625 kB / 0.7088 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.861, allocations: 361.3 kB / 0.7092 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005704/1.867, allocations: 2.974 MB / 0.7121 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/1.867, allocations: 70.17 kB / 0.7121 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005186/1.872, allocations: 6.673 MB / 0.7187 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.872, allocations: 0.9688 kB / 0.7187 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009577/1.882, allocations: 6.187 MB / 0.7247 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/1.882, allocations: 322.6 kB / 0.725 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/1.882, allocations: 50.91 kB / 0.7251 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009126/1.883, allocations: 90.48 kB / 0.7251 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/1.883, allocations: 169.9 kB / 0.7253 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.883, allocations: 80.89 kB / 0.7254 GB, free: 221 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003104/1.884, allocations: 395.6 kB / 0.7258 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.884, allocations: 0 / 0.7258 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00232/1.886, allocations: 1.357 MB / 0.7271 GB, free: 220.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * 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 (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00341/1.889, allocations: 1.245 MB / 0.7283 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00527/1.895, allocations: 3.975 MB / 0.7322 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.895, allocations: 0.875 kB / 0.7322 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/1.898, allocations: 2.161 MB / 0.7343 GB, free: 217.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/1.901, allocations: 0.854 MB / 0.7351 GB, free: 217.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/1.908, allocations: 6.187 MB / 0.7412 GB, free: 211.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/1.909, allocations: 1.538 MB / 0.7427 GB, free: 210 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/1.909, allocations: 111.3 kB / 0.7428 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/1.909, allocations: 0 / 0.7428 GB, free: 209.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03826/1.947, allocations: 54.97 MB / 0.7965 GB, free: 155.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.TestDynamicWaterWaterExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchangerCalcHelperMain.o] Error 1