Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007803/0.0007803, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008168/0.0008167, allocations: 185.6 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7502/0.7502, allocations: 132.3 MB / 424.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 12 kB / 0.5046 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4074, allocations: 81.58 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.603/1.01, allocations: 294 MB / 0.8714 GB, free: 52.91 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06067/1.071, allocations: 49.62 MB / 0.9198 GB, free: 50.15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0131/1.084, allocations: 261.8 kB / 0.9201 GB, free: 50.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009941/1.094, allocations: 2.781 MB / 0.9228 GB, free: 48.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02543/1.12, allocations: 8.396 MB / 0.931 GB, free: 43.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01659/1.136, allocations: 5.987 MB / 0.9369 GB, free: 39.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02649/1.163, allocations: 24.56 MB / 0.9608 GB, free: 17.96 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00843/1.171, allocations: 4.725 MB / 0.9655 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01421/1.186, allocations: 6.205 MB / 0.9715 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009018/1.195, allocations: 4.903 MB / 0.9763 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002221/1.197, allocations: 228 kB / 0.9765 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/1.209, allocations: 3.904 MB / 0.9803 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003015/1.212, allocations: 1.137 MB / 0.9814 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008417/1.221, allocations: 3.325 MB / 0.9847 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/1.234, allocations: 7.711 MB / 0.9922 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.234, allocations: 0 / 0.9922 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/1.234, allocations: 0 / 0.9922 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004031/1.234, allocations: 0 / 0.9922 GB, free: 3.301 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01324/1.248, allocations: 6.191 MB / 0.9983 GB, free: 13.06 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.248, allocations: 12.03 kB / 0.9983 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/1.251, allocations: 0.788 MB / 0.999 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/1.262, allocations: 5.217 MB / 1.004 GB, free: 7.117 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003563/1.262, allocations: 319.3 kB / 1.004 GB, free: 6.805 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/1.264, allocations: 432 kB / 1.005 GB, free: 6.383 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/1.274, allocations: 4.384 MB / 1.009 GB, free: 1.727 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.574e-05/1.274, allocations: 19.78 kB / 1.009 GB, free: 1.707 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000364/1.274, allocations: 176 kB / 1.009 GB, free: 1.535 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/1.274, allocations: 116 kB / 1.009 GB, free: 1.422 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/1.28, allocations: 2.972 MB / 1.012 GB, free: 14.45 MB / 0.6856 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.02892/1.309, allocations: 25.03 MB / 1.037 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/1.312, allocations: 2.783 MB / 1.04 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/1.314, allocations: 0.997 MB / 1.04 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003384/1.317, allocations: 3.923 MB / 1.044 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.035e-05/1.317, allocations: 64.56 kB / 1.044 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 4.378e-06/1.317, allocations: 0 / 1.044 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01021/1.327, allocations: 4.098 MB / 1.048 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/1.328, allocations: 77.34 kB / 1.048 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007519/1.335, allocations: 4.244 MB / 1.053 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003799/1.335, allocations: 81.64 kB / 1.053 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002241/1.338, allocations: 2.799 MB / 1.055 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008668/1.339, allocations: 0.7605 MB / 1.056 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/1.339, allocations: 231.6 kB / 1.056 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/1.339, allocations: 301.1 kB / 1.057 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/1.34, allocations: 0.8177 MB / 1.057 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/1.342, allocations: 1.818 MB / 1.059 GB, free: 11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/1.346, allocations: 2.521 MB / 1.062 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/1.346, allocations: 11.94 kB / 1.062 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007438/1.353, allocations: 3.569 MB / 1.065 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/1.354, allocations: 0.7453 MB / 1.066 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/1.354, allocations: 20 kB / 1.066 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/1.356, allocations: 0.5948 MB / 1.067 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.358, allocations: 0.5577 MB / 1.067 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.36, allocations: 2.681 MB / 1.07 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004601/1.364, allocations: 0.6025 MB / 1.07 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/1.365, allocations: 136 kB / 1.07 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.365, allocations: 6.5 kB / 1.07 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004534/1.369, allocations: 2.822 MB / 1.073 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.369, allocations: 20 kB / 1.073 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009101/1.37, allocations: 378.6 kB / 1.074 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.372, allocations: 0.5538 MB / 1.074 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007473/1.379, allocations: 7.711 MB / 1.082 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.383, allocations: 0.5553 MB / 1.082 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/1.384, allocations: 135.9 kB / 1.082 GB, free: 1.965 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002318/1.386, allocations: 1.012 MB / 1.083 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.387, allocations: 0.5017 MB / 1.084 GB, free: 440 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/1.393, allocations: 3.585 MB / 1.087 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/1.393, allocations: 35.98 kB / 1.087 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.393, allocations: 0 / 1.087 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003424/1.396, allocations: 2.449 MB / 1.09 GB, free: 10.25 MB / 0.7637 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 postOpt removeSimpleEquations (simulation): time 0.01196/1.408, allocations: 8.232 MB / 1.098 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.408, allocations: 0 / 1.098 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.41, allocations: 367.5 kB / 1.098 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006721/1.41, allocations: 303.1 kB / 1.098 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/1.41, allocations: 63.95 kB / 1.098 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3049/1.715, allocations: 2.488 MB / 1.101 GB, free: 317.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.715, allocations: 2.344 kB / 1.101 GB, free: 317.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007861/1.723, allocations: 4.353 MB / 1.105 GB, free: 317.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/1.726, allocations: 0.9778 MB / 1.106 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008624/1.727, allocations: 48.08 kB / 1.106 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/1.73, allocations: 420 kB / 1.107 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.731, allocations: 153.1 kB / 1.107 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/1.731, allocations: 113.2 kB / 1.107 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004921/1.736, allocations: 2.791 MB / 1.109 GB, free: 315.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.5e-07/1.736, allocations: 3.969 kB / 1.109 GB, free: 315.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01125/1.747, allocations: 3.276 MB / 1.113 GB, free: 315.4 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003763/1.751, allocations: 1.499 MB / 1.114 GB, free: 315.2 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.008215/1.759, allocations: 4.442 MB / 1.118 GB, free: 313.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.759, allocations: 2.625 kB / 1.118 GB, free: 313.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/1.761, allocations: 1.233 MB / 1.12 GB, free: 313 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0147/1.776, allocations: 2.648 MB / 1.122 GB, free: 312.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.789, allocations: 11.66 MB / 1.134 GB, free: 305.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/1.791, allocations: 2.852 MB / 1.136 GB, free: 305 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/1.792, allocations: 436.4 kB / 1.137 GB, free: 304.9 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/1.792, allocations: 0 / 1.137 GB, free: 304.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.1545/1.947, allocations: 190.3 MB / 1.323 GB, free: 123 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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 OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o] Error 1