Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001166/0.001167, 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.001859/0.001859, allocations: 174.2 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.533/1.533, allocations: 223.2 MB / 240.6 MB, free: 5.398 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.786/2.786, allocations: 390.5 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9105/0.9109, allocations: 142.3 MB / 0.9544 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2802/1.191, allocations: 231.9 MB / 1.181 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02833/1.22, allocations: 16.9 MB / 1.197 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004837/1.224, allocations: 75.56 kB / 1.197 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004179/1.229, allocations: 0.7296 MB / 1.198 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01416/1.243, allocations: 2.806 MB / 1.201 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005894/1.249, allocations: 1.355 MB / 1.202 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009406/1.258, allocations: 5.809 MB / 1.208 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/1.261, allocations: 1.286 MB / 1.209 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/1.266, allocations: 1.766 MB / 1.211 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003927/1.27, allocations: 1.4 MB / 1.212 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004701/1.271, allocations: 68 kB / 1.212 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006121/1.277, allocations: 1.547 MB / 1.214 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008427/1.278, allocations: 462.2 kB / 1.214 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/1.279, allocations: 440.6 kB / 1.215 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00485/1.284, allocations: 2.583 MB / 1.217 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/1.284, allocations: 3.938 kB / 1.217 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.659e-06/1.284, allocations: 0 / 1.217 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.157e-05/1.284, allocations: 3.938 kB / 1.217 GB, free: 2.312 MB / 0.9669 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.004688/1.289, allocations: 2.129 MB / 1.219 GB, free: 132 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.289, allocations: 8.031 kB / 1.219 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/1.291, allocations: 381.1 kB / 1.22 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/1.293, allocations: 1.356 MB / 1.221 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/1.293, allocations: 118.7 kB / 1.221 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/1.294, allocations: 139.9 kB / 1.221 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/1.297, allocations: 1.499 MB / 1.223 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/1.297, allocations: 4 kB / 1.223 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.297, allocations: 59.95 kB / 1.223 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-05/1.297, allocations: 62.58 kB / 1.223 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/1.299, allocations: 1.15 MB / 1.224 GB, free: 11.23 MB / 0.9825 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.009736/1.309, allocations: 7.196 MB / 1.231 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.31, allocations: 0.8328 MB / 1.232 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/1.311, allocations: 451.3 kB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009706/1.312, allocations: 0.724 MB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.312, allocations: 39.22 kB / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=74): time 3.397e-06/1.312, allocations: 0 / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74): time 0.00643/1.318, allocations: 2.129 MB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.318, allocations: 64.06 kB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/1.32, allocations: 1.298 MB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.321, allocations: 41.7 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007203/1.321, allocations: 0.8094 MB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/1.322, allocations: 260.3 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/1.322, allocations: 16 kB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.322, allocations: 338 kB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/1.322, allocations: 333.8 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/1.323, allocations: 0.563 MB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/1.324, allocations: 414.8 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.324, allocations: 4 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002588/1.327, allocations: 1.267 MB / 1.24 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/1.327, allocations: 240.5 kB / 1.241 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.327, allocations: 4 kB / 1.241 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/1.329, allocations: 414.9 kB / 1.241 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/1.329, allocations: 155.7 kB / 1.241 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/1.331, allocations: 2.057 MB / 1.243 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.333, allocations: 192.7 kB / 1.243 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/1.333, allocations: 36 kB / 1.243 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.333, allocations: 4 kB / 1.243 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001941/1.335, allocations: 1.06 MB / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.335, allocations: 4 kB / 1.244 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/1.336, allocations: 375.1 kB / 1.245 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/1.337, allocations: 159.7 kB / 1.245 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/1.34, allocations: 3.851 MB / 1.249 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/1.342, allocations: 176.5 kB / 1.249 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/1.342, allocations: 39.92 kB / 1.249 GB, free: 328 kB / 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.783/2.125, allocations: 463.9 kB / 1.249 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/2.126, allocations: 157.2 kB / 1.249 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/2.129, allocations: 1.206 MB / 1.251 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/2.13, allocations: 8.484 kB / 1.251 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/2.13, allocations: 0 / 1.251 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002626/2.132, allocations: 1.296 MB / 1.252 GB, free: 282.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/2.138, allocations: 2.772 MB / 1.255 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/2.138, allocations: 3.047 kB / 1.255 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/2.139, allocations: 112 kB / 1.255 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/2.141, allocations: 360.7 kB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/2.141, allocations: 23.56 kB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/2.142, allocations: 2.026 MB / 1.257 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/2.142, allocations: 6.969 kB / 1.257 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/2.145, allocations: 1.231 MB / 1.258 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007403/2.146, allocations: 337.3 kB / 1.259 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/2.146, allocations: 21.89 kB / 1.259 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009895/2.147, allocations: 126.3 kB / 1.259 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/2.147, allocations: 54.11 kB / 1.259 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/2.147, allocations: 28.92 kB / 1.259 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001918/2.149, allocations: 0.8769 MB / 1.26 GB, free: 278 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/2.149, allocations: 0 / 1.26 GB, free: 278 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004003/2.153, allocations: 0.9015 MB / 1.261 GB, free: 277.9 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.001149/2.154, allocations: 370.7 kB / 1.261 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003948/2.158, allocations: 1.666 MB / 1.263 GB, free: 277.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/2.158, allocations: 1.156 kB / 1.263 GB, free: 277.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/2.159, allocations: 476.4 kB / 1.263 GB, free: 277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/2.163, allocations: 0.7893 MB / 1.264 GB, free: 276.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/2.168, allocations: 3.318 MB / 1.267 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/2.169, allocations: 1.336 MB / 1.268 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/2.169, allocations: 105.3 kB / 1.268 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.262e-06/2.169, allocations: 1.125 kB / 1.268 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06519/2.235, allocations: 47.71 MB / 1.315 GB, free: 236.5 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.o] Error 1