Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7259/0.7259, allocations: 150.8 MB / 166.7 MB, free: 15.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.237e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 31.98 MB / 237.4 MB, free: 5.418 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.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger): time 1.415/1.551, allocations: 294.9 MB / 0.5199 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1741/1.725, allocations: 184.9 MB / 0.7004 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/1.726, allocations: 15.88 kB / 0.7004 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000304/1.726, allocations: 115.2 kB / 0.7005 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004042/1.726, allocations: 230.3 kB / 0.7007 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2731/1.999, allocations: 8.536 MB / 0.7091 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009179/2, allocations: 0.7771 MB / 0.7098 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/2.001, allocations: 328.4 kB / 0.7101 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/2.001, allocations: 279.8 kB / 0.7104 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/2.001, allocations: 268.9 kB / 0.7107 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/2.001, allocations: 24.5 kB / 0.7107 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02998/2.031, allocations: 19.54 MB / 0.7298 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/2.032, allocations: 95.11 kB / 0.7299 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004883/2.032, allocations: 355.9 kB / 0.7302 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009923/2.042, allocations: 6.772 MB / 0.7368 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/2.042, allocations: 0 / 0.7368 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/2.042, allocations: 0 / 0.7368 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.516e-06/2.042, allocations: 0 / 0.7368 GB, free: 3.914 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.004425/2.046, allocations: 1.889 MB / 0.7387 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/2.046, allocations: 13.19 kB / 0.7387 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/2.047, allocations: 87.53 kB / 0.7388 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/2.047, allocations: 411.4 kB / 0.7392 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/2.047, allocations: 52.12 kB / 0.7392 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/2.047, allocations: 62.22 kB / 0.7393 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/2.048, allocations: 0.7051 MB / 0.74 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/2.048, allocations: 0 / 0.74 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/2.048, allocations: 28.78 kB / 0.74 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/2.048, allocations: 30.22 kB / 0.74 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/2.048, allocations: 440.9 kB / 0.7404 GB, free: 2.004 MB / 0.5762 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.01349/2.062, allocations: 11.96 MB / 0.7521 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/2.062, allocations: 130 kB / 0.7522 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/2.062, allocations: 97.64 kB / 0.7523 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1416/2.204, allocations: 77.55 MB / 0.8281 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/2.204, allocations: 45.39 kB / 0.8281 GB, free: 12.46 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.966e-06/2.204, allocations: 4 kB / 0.8281 GB, free: 12.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.0006604/2.205, allocations: 325.5 kB / 0.8284 GB, free: 12.22 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/2.205, allocations: 77.11 kB / 0.8285 GB, free: 12.13 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/2.205, allocations: 0.4962 MB / 0.829 GB, free: 11.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/2.205, allocations: 25.7 kB / 0.829 GB, free: 11.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/2.205, allocations: 366 kB / 0.8293 GB, free: 11.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/2.205, allocations: 147.2 kB / 0.8295 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/2.206, allocations: 56.12 kB / 0.8295 GB, free: 11.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001205/2.206, allocations: 368.9 kB / 0.8299 GB, free: 10.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/2.206, allocations: 97.12 kB / 0.83 GB, free: 10.85 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/2.206, allocations: 276.5 kB / 0.8302 GB, free: 10.56 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/2.207, allocations: 423.8 kB / 0.8306 GB, free: 10.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.207, allocations: 4 kB / 0.8307 GB, free: 10.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006107/2.207, allocations: 474.7 kB / 0.8311 GB, free: 9.875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/2.207, allocations: 11.11 kB / 0.8311 GB, free: 9.867 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/2.207, allocations: 12.03 kB / 0.8311 GB, free: 9.855 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/2.207, allocations: 8 kB / 0.8311 GB, free: 9.848 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/2.207, allocations: 69.78 kB / 0.8312 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/2.208, allocations: 10.91 kB / 0.8312 GB, free: 9.777 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/2.208, allocations: 74.61 kB / 0.8313 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/2.208, allocations: 23.56 kB / 0.8313 GB, free: 9.691 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/2.208, allocations: 186.5 kB / 0.8315 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/2.208, allocations: 59.19 kB / 0.8315 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/2.209, allocations: 0.6353 MB / 0.8322 GB, free: 9.051 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004569/2.209, allocations: 466.7 kB / 0.8326 GB, free: 8.73 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/2.209, allocations: 0 / 0.8326 GB, free: 8.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/2.209, allocations: 3.984 kB / 0.8326 GB, free: 8.727 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/2.211, allocations: 1.54 MB / 0.8341 GB, free: 7.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/2.211, allocations: 4 kB / 0.8341 GB, free: 7.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/2.211, allocations: 77.53 kB / 0.8342 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/2.211, allocations: 0 / 0.8342 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/2.211, allocations: 7.562 kB / 0.8342 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/2.211, allocations: 4 kB / 0.8342 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.211, allocations: 6.906 kB / 0.8342 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/2.212, allocations: 0.6943 MB / 0.8349 GB, free: 6.848 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/2.212, allocations: 186.3 kB / 0.8351 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/2.212, allocations: 7.312 kB / 0.8351 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/2.212, allocations: 10.91 kB / 0.8351 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/2.212, allocations: 35.41 kB / 0.8351 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/2.212, allocations: 19.81 kB / 0.8351 GB, free: 6.613 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003261/2.212, allocations: 340.5 kB / 0.8355 GB, free: 6.355 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/2.213, allocations: 0 / 0.8355 GB, free: 6.355 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003537/2.216, allocations: 1.498 MB / 0.8369 GB, free: 4.957 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004901/2.221, allocations: 2.199 MB / 0.8391 GB, free: 3.07 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006082/2.222, allocations: 0.5662 MB / 0.8396 GB, free: 2.637 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.222, allocations: 448 / 0.8396 GB, free: 2.637 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/2.222, allocations: 238 kB / 0.8398 GB, free: 2.492 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/2.223, allocations: 287.6 kB / 0.8401 GB, free: 2.266 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/2.225, allocations: 1.673 MB / 0.8418 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/2.226, allocations: 0.9629 MB / 0.8427 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/2.226, allocations: 55.44 kB / 0.8428 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/2.226, allocations: 0 / 0.8428 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of Templates: time 0.03921/2.265, allocations: 30.96 MB / 0.873 GB, free: 0.9375 MB / 0.7012 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchangerCalcHelperMain.o] Error 1