Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009941, allocations: 102 kB / 15.71 MB, free: 460 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.001214/0.001214, allocations: 172.8 kB / 16.58 MB, free: 6.086 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.542/1.542, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.581/2.581, allocations: 390.4 MB / 0.6662 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9638/0.9642, allocations: 142.3 MB / 0.9544 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2724/1.237, allocations: 215.1 MB / 1.165 GB, free: 8.406 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02509/1.262, allocations: 14.73 MB / 1.179 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/1.266, allocations: 71.56 kB / 1.179 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003707/1.27, allocations: 0.8659 MB / 1.18 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009168/1.279, allocations: 2.533 MB / 1.182 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006531/1.286, allocations: 1.848 MB / 1.184 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009943/1.296, allocations: 5.58 MB / 1.19 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/1.299, allocations: 1.379 MB / 1.191 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006787/1.306, allocations: 2.124 MB / 1.193 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/1.31, allocations: 1.486 MB / 1.194 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003766/1.31, allocations: 84 kB / 1.194 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006362/1.316, allocations: 2.101 MB / 1.197 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/1.317, allocations: 0.6306 MB / 1.197 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/1.319, allocations: 460.5 kB / 1.198 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00532/1.324, allocations: 3.005 MB / 1.201 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.324, allocations: 0 / 1.201 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.414e-06/1.324, allocations: 0 / 1.201 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.286e-05/1.324, allocations: 0 / 1.201 GB, free: 3.414 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005312/1.329, allocations: 2.457 MB / 1.203 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.329, allocations: 8.031 kB / 1.203 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/1.335, allocations: 0.9026 MB / 1.204 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/1.339, allocations: 1.623 MB / 1.205 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/1.339, allocations: 174.5 kB / 1.206 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/1.339, allocations: 143.9 kB / 1.206 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/1.343, allocations: 1.712 MB / 1.207 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/1.343, allocations: 7.984 kB / 1.207 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/1.343, allocations: 55.95 kB / 1.207 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/1.343, allocations: 46.52 kB / 1.207 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/1.346, allocations: 1.567 MB / 1.209 GB, free: 10.53 MB / 0.9669 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.01138/1.358, allocations: 7.691 MB / 1.217 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/1.361, allocations: 1.74 MB / 1.218 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/1.362, allocations: 0.5666 MB / 1.219 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/1.363, allocations: 0.8102 MB / 1.22 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/1.364, allocations: 0.6181 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001024/1.365, allocations: 135.1 kB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.965e-06/1.366, allocations: 0 / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.004498/1.37, allocations: 1.757 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/1.37, allocations: 64.41 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/1.372, allocations: 1.595 MB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1.373, allocations: 53.64 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009165/1.374, allocations: 0.9087 MB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/1.374, allocations: 303.5 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/1.374, allocations: 24 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.374, allocations: 345.9 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/1.375, allocations: 494.3 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/1.377, allocations: 0.8185 MB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.378, allocations: 0.5785 MB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.378, allocations: 4 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00318/1.381, allocations: 1.508 MB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002698/1.381, allocations: 366.1 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.381, allocations: 8 kB / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/1.381, allocations: 16 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.382, allocations: 295.6 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/1.383, allocations: 19.92 kB / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.384, allocations: 192.4 kB / 1.229 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/1.384, allocations: 47.98 kB / 1.229 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/1.384, allocations: 4 kB / 1.229 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002652/1.387, allocations: 1.325 MB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.387, allocations: 12 kB / 1.231 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.387, allocations: 15.95 kB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.388, allocations: 291.8 kB / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/1.388, allocations: 23.92 kB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.39, allocations: 188.3 kB / 1.231 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/1.39, allocations: 51.98 kB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001148/1.391, allocations: 0.5317 MB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/1.392, allocations: 181.7 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/1.394, allocations: 1.294 MB / 1.233 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/1.394, allocations: 8 kB / 1.233 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.394, allocations: 4 kB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002397/1.397, allocations: 1.356 MB / 1.235 GB, free: 14.98 MB / 0.9981 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.00577/1.403, allocations: 3.12 MB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.403, allocations: 4 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009792/1.404, allocations: 215.9 kB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/1.404, allocations: 48.81 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/1.404, allocations: 27.98 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/1.405, allocations: 1.425 MB / 1.239 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.405, allocations: 4 kB / 1.239 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/1.409, allocations: 1.93 MB / 1.241 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/1.41, allocations: 350.8 kB / 1.242 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/1.41, allocations: 20 kB / 1.242 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.411, allocations: 163.7 kB / 1.242 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.411, allocations: 68.45 kB / 1.242 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/1.411, allocations: 35.98 kB / 1.242 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001622/1.413, allocations: 1.073 MB / 1.243 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.413, allocations: 0 / 1.243 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002903/1.416, allocations: 0.9781 MB / 1.244 GB, free: 5.195 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/1.418, allocations: 0.6012 MB / 1.244 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004532/1.422, allocations: 1.938 MB / 1.246 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.422, allocations: 0 / 1.246 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/1.424, allocations: 0.6631 MB / 1.247 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/1.428, allocations: 0.808 MB / 1.248 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6628/2.091, allocations: 4.57 MB / 1.252 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/2.093, allocations: 1.489 MB / 1.254 GB, free: 278.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009226/2.094, allocations: 146.5 kB / 1.254 GB, free: 278.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.284e-06/2.094, allocations: 0 / 1.254 GB, free: 278.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.07533/2.169, allocations: 34.12 MB / 1.287 GB, free: 263.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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 OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_TCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_TCalcHelperMain.o] Error 1