Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99.83 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.001276/0.001276, allocations: 179 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.416/1.416, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7659/0.7659, allocations: 132.3 MB / 424 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003223, allocations: 8 kB / 0.504 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6077, allocations: 81.57 MB / 0.5837 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2393/0.847, allocations: 192.4 MB / 0.7715 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.8647, allocations: 9.985 MB / 0.7813 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.868, allocations: 51.62 kB / 0.7813 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.8705, allocations: 0.5392 MB / 0.7819 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008215/0.8787, allocations: 1.831 MB / 0.7837 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006567/0.8853, allocations: 1.757 MB / 0.7854 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006277/0.8916, allocations: 3.975 MB / 0.7893 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.8936, allocations: 0.9957 MB / 0.7902 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.8975, allocations: 1.54 MB / 0.7917 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.8992, allocations: 1.046 MB / 0.7928 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.8994, allocations: 60 kB / 0.7928 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004933/0.9044, allocations: 2.242 MB / 0.795 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.9048, allocations: 362.4 kB / 0.7953 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/0.9054, allocations: 344.8 kB / 0.7957 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.9087, allocations: 2.28 MB / 0.7979 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.9087, allocations: 0 / 0.7979 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9088, allocations: 0 / 0.7979 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.9088, allocations: 0 / 0.7979 GB, free: 4.66 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004269/0.9131, allocations: 2.049 MB / 0.7999 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9131, allocations: 11.97 kB / 0.7999 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.9157, allocations: 0.5755 MB / 0.8005 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.918, allocations: 1.203 MB / 0.8017 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005455/0.9185, allocations: 225.8 kB / 0.8019 GB, free: 496 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.9187, allocations: 108 kB / 0.802 GB, free: 388 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.9213, allocations: 1.345 MB / 0.8033 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.9213, allocations: 8 kB / 0.8033 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.9214, allocations: 40 kB / 0.8033 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.9215, allocations: 38 kB / 0.8034 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.9244, allocations: 1.394 MB / 0.8047 GB, free: 13.52 MB / 0.6387 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.00855/0.933, allocations: 5.326 MB / 0.8099 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.9354, allocations: 1.074 MB / 0.811 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.9366, allocations: 0.5618 MB / 0.8115 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.9377, allocations: 0.7825 MB / 0.8123 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/0.9392, allocations: 0.625 MB / 0.8129 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 4.178e-06/0.9392, allocations: 0 / 0.8129 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.004229/0.9434, allocations: 1.663 MB / 0.8145 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.9435, allocations: 60.06 kB / 0.8146 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.9453, allocations: 1.306 MB / 0.8159 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.9454, allocations: 49.7 kB / 0.8159 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006499/0.9461, allocations: 0.6503 MB / 0.8165 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.9464, allocations: 279.9 kB / 0.8168 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.9464, allocations: 28 kB / 0.8168 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9466, allocations: 341.9 kB / 0.8172 GB, free: 268 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4916/1.438, allocations: 0.5145 MB / 0.8177 GB, free: 32.55 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/1.44, allocations: 0.7949 MB / 0.8184 GB, free: 32.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/1.442, allocations: 0.6069 MB / 0.819 GB, free: 32.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.442, allocations: 5.812 kB / 0.819 GB, free: 32.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004174/1.446, allocations: 1.514 MB / 0.8205 GB, free: 32.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002506/1.446, allocations: 269.8 kB / 0.8208 GB, free: 31.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/1.446, allocations: 5.062 kB / 0.8208 GB, free: 31.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.154e-05/1.447, allocations: 12.66 kB / 0.8208 GB, free: 31.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/1.449, allocations: 350.5 kB / 0.8211 GB, free: 31.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/1.449, allocations: 1.201 MB / 0.8223 GB, free: 30.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/1.452, allocations: 235 kB / 0.8225 GB, free: 30.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/1.452, allocations: 55.52 kB / 0.8226 GB, free: 30.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.452, allocations: 7.672 kB / 0.8226 GB, free: 30.74 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004042/1.456, allocations: 1.363 MB / 0.8239 GB, free: 30.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.456, allocations: 5.062 kB / 0.8239 GB, free: 30.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.456, allocations: 10.91 kB / 0.8239 GB, free: 30.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.458, allocations: 326.3 kB / 0.8242 GB, free: 30.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/1.458, allocations: 13.95 kB / 0.8243 GB, free: 30.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.46, allocations: 220.2 kB / 0.8245 GB, free: 30.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.46, allocations: 52.89 kB / 0.8245 GB, free: 30.66 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008676/1.461, allocations: 412.8 kB / 0.8249 GB, free: 30.47 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/1.461, allocations: 156.9 kB / 0.8251 GB, free: 30.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/1.464, allocations: 1.375 MB / 0.8264 GB, free: 30.33 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/1.464, allocations: 11.7 kB / 0.8264 GB, free: 30.33 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.464, allocations: 0.8125 kB / 0.8264 GB, free: 30.33 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.464, allocations: 3.094 kB / 0.8264 GB, free: 30.33 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/1.469, allocations: 2.897 MB / 0.8292 GB, free: 29.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.469, allocations: 3.75 kB / 0.8292 GB, free: 29.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.47, allocations: 246.2 kB / 0.8295 GB, free: 29.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/1.47, allocations: 11.78 kB / 0.8295 GB, free: 29.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-05/1.47, allocations: 31.52 kB / 0.8295 GB, free: 29.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/1.471, allocations: 1.188 MB / 0.8307 GB, free: 28.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.471, allocations: 7.031 kB / 0.8307 GB, free: 28.67 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/1.475, allocations: 2.131 MB / 0.8328 GB, free: 28.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006252/1.476, allocations: 371.6 kB / 0.8331 GB, free: 28.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.476, allocations: 21.59 kB / 0.8331 GB, free: 28.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.477, allocations: 127.9 kB / 0.8333 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.477, allocations: 78.05 kB / 0.8333 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.477, allocations: 42.23 kB / 0.8334 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001405/1.479, allocations: 0.8741 MB / 0.8342 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.479, allocations: 0 / 0.8342 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002615/1.481, allocations: 0.7814 MB / 0.835 GB, free: 27.91 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/1.483, allocations: 466.8 kB / 0.8354 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004569/1.487, allocations: 2.132 MB / 0.8375 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.487, allocations: 0 / 0.8375 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.488, allocations: 0.6514 MB / 0.8382 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/1.492, allocations: 0.6898 MB / 0.8388 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/1.496, allocations: 3.283 MB / 0.842 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/1.497, allocations: 1.225 MB / 0.8432 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/1.498, allocations: 135.6 kB / 0.8434 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of SimCode: time 1.603e-06/1.498, allocations: 0 / 0.8434 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of Templates: time 0.04305/1.541, allocations: 37.69 MB / 0.8802 GB, free: 13.16 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.HeatExchangers.Examples.DryCoilEffectivenessNTUPControlCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControlCalcHelperMain.o] Error 1