Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 99.59 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.001446/0.001446, allocations: 175.7 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.603/1.603, allocations: 223.2 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.11/3.11, allocations: 436.7 MB / 0.7113 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 16.22 kB / 0.8717 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8654/0.8658, allocations: 153.7 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2811/1.147, allocations: 231.9 MB / 1.248 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.918/2.065, allocations: 16.9 MB / 1.265 GB, free: 29.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003853/2.069, allocations: 71.41 kB / 1.265 GB, free: 29.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003717/2.073, allocations: 0.7269 MB / 1.266 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/2.085, allocations: 2.815 MB / 1.268 GB, free: 29.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006147/2.091, allocations: 1.351 MB / 1.27 GB, free: 29.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01383/2.105, allocations: 5.807 MB / 1.275 GB, free: 29.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005035/2.11, allocations: 1.301 MB / 1.277 GB, free: 29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006888/2.117, allocations: 1.754 MB / 1.278 GB, free: 28.99 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/2.121, allocations: 1.399 MB / 1.28 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008502/2.122, allocations: 68.75 kB / 1.28 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007544/2.13, allocations: 1.552 MB / 1.281 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001733/2.131, allocations: 462.1 kB / 1.282 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002269/2.134, allocations: 434.5 kB / 1.282 GB, free: 28.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006837/2.141, allocations: 2.596 MB / 1.285 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/2.141, allocations: 0 / 1.285 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.536e-06/2.141, allocations: 1.375 kB / 1.285 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002008/2.141, allocations: 0 / 1.285 GB, free: 28.71 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.008053/2.149, allocations: 2.131 MB / 1.287 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/2.149, allocations: 8.25 kB / 1.287 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/2.152, allocations: 374.2 kB / 1.287 GB, free: 27.46 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/2.156, allocations: 1.369 MB / 1.288 GB, free: 27.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/2.156, allocations: 105.5 kB / 1.288 GB, free: 27.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004739/2.157, allocations: 142.4 kB / 1.289 GB, free: 27.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004476/2.161, allocations: 1.508 MB / 1.29 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/2.161, allocations: 2.844 kB / 1.29 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/2.161, allocations: 57.34 kB / 1.29 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-05/2.161, allocations: 52.3 kB / 1.29 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/2.164, allocations: 1.156 MB / 1.291 GB, free: 26.83 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 preOpt removeSimpleEquations (simulation): time 0.008576/2.172, allocations: 7.187 MB / 1.298 GB, free: 22.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/2.174, allocations: 0.821 MB / 1.299 GB, free: 22.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/2.174, allocations: 450 kB / 1.3 GB, free: 22.72 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007922/2.175, allocations: 0.7325 MB / 1.3 GB, free: 21.97 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/2.175, allocations: 43.25 kB / 1.3 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=74): time 2.895e-06/2.175, allocations: 0 / 1.3 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74): time 0.006358/2.182, allocations: 2.13 MB / 1.302 GB, free: 21.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/2.182, allocations: 63.28 kB / 1.302 GB, free: 21.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/2.183, allocations: 1.299 MB / 1.304 GB, free: 21.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/2.184, allocations: 43.55 kB / 1.304 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/2.184, allocations: 0.8002 MB / 1.305 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/2.184, allocations: 254.2 kB / 1.305 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/2.184, allocations: 16.16 kB / 1.305 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/2.185, allocations: 341 kB / 1.305 GB, free: 20.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/2.185, allocations: 331.2 kB / 1.305 GB, free: 20.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/2.186, allocations: 0.5717 MB / 1.306 GB, free: 20.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/2.187, allocations: 412.9 kB / 1.306 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/2.187, allocations: 0 / 1.306 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002324/2.189, allocations: 1.265 MB / 1.308 GB, free: 20 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/2.189, allocations: 238.2 kB / 1.308 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/2.189, allocations: 7.234 kB / 1.308 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/2.191, allocations: 421.5 kB / 1.308 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/2.191, allocations: 156 kB / 1.308 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/2.193, allocations: 2.048 MB / 1.31 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/2.194, allocations: 184.4 kB / 1.311 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/2.194, allocations: 38.73 kB / 1.311 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/2.194, allocations: 6.406 kB / 1.311 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001788/2.196, allocations: 1.062 MB / 1.312 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/2.196, allocations: 9.375 kB / 1.312 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/2.197, allocations: 368.8 kB / 1.312 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/2.198, allocations: 168.1 kB / 1.312 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/2.201, allocations: 3.85 MB / 1.316 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/2.202, allocations: 175.9 kB / 1.316 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/2.202, allocations: 39.52 kB / 1.316 GB, free: 14.73 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001062/2.204, allocations: 468.5 kB / 1.317 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/2.204, allocations: 157.2 kB / 1.317 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/2.206, allocations: 1.216 MB / 1.318 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/2.206, allocations: 11.14 kB / 1.318 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/2.206, allocations: 7.891 kB / 1.318 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/2.209, allocations: 1.292 MB / 1.319 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/2.213, allocations: 2.77 MB / 1.322 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/2.213, allocations: 2.688 kB / 1.322 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/2.214, allocations: 104.9 kB / 1.322 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/2.215, allocations: 373.4 kB / 1.322 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/2.215, allocations: 19.61 kB / 1.322 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/2.216, allocations: 2.029 MB / 1.324 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.216, allocations: 9.688 kB / 1.324 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/2.218, allocations: 1.224 MB / 1.326 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/2.219, allocations: 342.5 kB / 1.326 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/2.219, allocations: 15.66 kB / 1.326 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/2.22, allocations: 120.4 kB / 1.326 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/2.22, allocations: 56.3 kB / 1.326 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/2.22, allocations: 29.83 kB / 1.326 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001248/2.221, allocations: 0.8756 MB / 1.327 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/2.221, allocations: 0 / 1.327 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00272/2.224, allocations: 0.9083 MB / 1.328 GB, free: 10.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007993/2.225, allocations: 360.3 kB / 1.328 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003265/2.228, allocations: 1.669 MB / 1.33 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/2.228, allocations: 0 / 1.33 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/2.229, allocations: 478 kB / 1.33 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/2.233, allocations: 0.783 MB / 1.331 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/2.238, allocations: 3.312 MB / 1.334 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/2.238, allocations: 1.342 MB / 1.336 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/2.239, allocations: 99.41 kB / 1.336 GB, free: 8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/2.239, allocations: 0 / 1.336 GB, free: 8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0677/2.306, allocations: 47.7 MB / 1.382 GB, free: 9.117 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.o] Error 1