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.00108/0.00108, allocations: 100.5 kB / 15.71 MB, free: 452 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.001/0.001001, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.415/1.415, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8058/0.8058, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5049, allocations: 81.57 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6426/1.148, allocations: 277.5 MB / 0.8547 GB, free: 59.4 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06479/1.212, allocations: 46.96 MB / 0.9005 GB, free: 58.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01303/1.225, allocations: 261.6 kB / 0.9008 GB, free: 58.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01049/1.236, allocations: 2.385 MB / 0.9031 GB, free: 58.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02541/1.261, allocations: 7.248 MB / 0.9102 GB, free: 56.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01652/1.278, allocations: 4.767 MB / 0.9148 GB, free: 55.42 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02972/1.308, allocations: 21.06 MB / 0.9354 GB, free: 45.92 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008417/1.316, allocations: 4.303 MB / 0.9396 GB, free: 41.65 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01648/1.333, allocations: 5.899 MB / 0.9454 GB, free: 36 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01141/1.344, allocations: 4.613 MB / 0.9499 GB, free: 31.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002628/1.347, allocations: 228 kB / 0.9501 GB, free: 31.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/1.36, allocations: 2.64 MB / 0.9527 GB, free: 29.01 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003211/1.363, allocations: 1.06 MB / 0.9537 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004839/1.368, allocations: 1.377 MB / 0.9551 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01327/1.381, allocations: 7.439 MB / 0.9623 GB, free: 19.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/1.381, allocations: 0 / 0.9623 GB, free: 19.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.757e-06/1.381, allocations: 8 kB / 0.9623 GB, free: 19.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004822/1.382, allocations: 0 / 0.9623 GB, free: 19.54 MB / 0.6387 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.01454/1.396, allocations: 6.262 MB / 0.9684 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.396, allocations: 8.031 kB / 0.9684 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/1.4, allocations: 0.7872 MB / 0.9692 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/1.412, allocations: 5.001 MB / 0.9741 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/1.413, allocations: 320.1 kB / 0.9744 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/1.414, allocations: 435.9 kB / 0.9748 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008768/1.423, allocations: 4.357 MB / 0.9791 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.424e-05/1.423, allocations: 17.84 kB / 0.9791 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003055/1.423, allocations: 176 kB / 0.9793 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.476e-05/1.423, allocations: 119.9 kB / 0.9794 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/1.428, allocations: 2.941 MB / 0.9822 GB, free: 14.93 MB / 0.6544 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.02893/1.457, allocations: 25.02 MB / 1.007 GB, free: 4.113 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/1.46, allocations: 2.76 MB / 1.009 GB, free: 1.156 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/1.461, allocations: 0.9954 MB / 1.01 GB, free: 172 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003254/1.464, allocations: 3.915 MB / 1.014 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/1.465, allocations: 68.56 kB / 1.014 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=217): time 4.869e-06/1.465, allocations: 0 / 1.014 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217): time 0.01018/1.475, allocations: 4.061 MB / 1.018 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/1.475, allocations: 81.33 kB / 1.018 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007132/1.482, allocations: 4.182 MB / 1.022 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005391/1.483, allocations: 85.7 kB / 1.022 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002415/1.485, allocations: 2.8 MB / 1.025 GB, free: 32 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.486, allocations: 0.7571 MB / 1.026 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.486, allocations: 60 kB / 1.026 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002088/1.486, allocations: 411.9 kB / 1.026 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.488, allocations: 0.7865 MB / 1.027 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/1.49, allocations: 1.795 MB / 1.029 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/1.492, allocations: 1.074 MB / 1.03 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.492, allocations: 12 kB / 1.03 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007614/1.499, allocations: 3.485 MB / 1.033 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005502/1.5, allocations: 0.751 MB / 1.034 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/1.5, allocations: 20 kB / 1.034 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/1.502, allocations: 0.5643 MB / 1.035 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.504, allocations: 0.5538 MB / 1.035 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.506, allocations: 2.687 MB / 1.038 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/1.511, allocations: 0.6023 MB / 1.038 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/1.511, allocations: 136 kB / 1.039 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.511, allocations: 4.781 kB / 1.039 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004765/1.516, allocations: 2.798 MB / 1.041 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/1.516, allocations: 28.03 kB / 1.041 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000885/1.517, allocations: 374.8 kB / 1.042 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.519, allocations: 0.5577 MB / 1.042 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008146/1.527, allocations: 7.7 MB / 1.05 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005014/1.532, allocations: 0.5522 MB / 1.05 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/1.532, allocations: 132 kB / 1.05 GB, free: 4.66 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002837/1.535, allocations: 1.008 MB / 1.051 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.537, allocations: 0.5055 MB / 1.052 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0074/1.544, allocations: 3.578 MB / 1.055 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.018e-05/1.544, allocations: 39.92 kB / 1.055 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.544, allocations: 0 / 1.055 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004621/1.549, allocations: 2.42 MB / 1.058 GB, free: 12.99 MB / 0.7325 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.01855/1.568, allocations: 8.198 MB / 1.066 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.568, allocations: 0 / 1.066 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.569, allocations: 363.5 kB / 1.066 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006857/1.57, allocations: 311.2 kB / 1.066 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.57, allocations: 67.97 kB / 1.066 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/1.572, allocations: 2.488 MB / 1.069 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.572, allocations: 8.109 kB / 1.069 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007876/1.58, allocations: 4.323 MB / 1.073 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003205/1.583, allocations: 0.9781 MB / 1.074 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001399/1.584, allocations: 48 kB / 1.074 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00433/1.589, allocations: 426.8 kB / 1.075 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/1.589, allocations: 149.8 kB / 1.075 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003256/1.589, allocations: 119.9 kB / 1.075 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00644/1.596, allocations: 2.742 MB / 1.077 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.596, allocations: 0 / 1.077 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.01474/1.61, allocations: 3.261 MB / 1.081 GB, free: 5.145 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003872/1.614, allocations: 1.415 MB / 1.082 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008792/1.623, allocations: 4.403 MB / 1.086 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.623, allocations: 4 kB / 1.086 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.625, allocations: 1.233 MB / 1.088 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/1.639, allocations: 2.646 MB / 1.09 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.656, allocations: 11.14 MB / 1.101 GB, free: 472 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.347/2.003, allocations: 2.853 MB / 1.104 GB, free: 313.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/2.005, allocations: 435.5 kB / 1.104 GB, free: 313.9 MB / 0.7637 GB Notification: Performance of SimCode: time 1.733e-06/2.005, allocations: 0 / 1.104 GB, free: 313.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.1906/2.196, allocations: 190.4 MB / 1.29 GB, free: 155.7 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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