Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008672/0.0008674, allocations: 102.4 kB / 15.71 MB, free: 440 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.0009429/0.0009429, allocations: 177.2 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005876/0.0005877, allocations: 15.97 kB / 0.6744 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3249, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1.049/1.374, allocations: 231.9 MB / 1.014 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0257/1.4, allocations: 16.81 MB / 1.031 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/1.404, allocations: 72.22 kB / 1.031 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003599/1.407, allocations: 0.7286 MB / 1.032 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/1.42, allocations: 2.809 MB / 1.034 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005714/1.426, allocations: 1.363 MB / 1.036 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01069/1.437, allocations: 5.782 MB / 1.041 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004073/1.441, allocations: 1.299 MB / 1.043 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/1.447, allocations: 1.757 MB / 1.044 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/1.451, allocations: 1.402 MB / 1.046 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008158/1.452, allocations: 73.28 kB / 1.046 GB, free: 0.9414 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006832/1.459, allocations: 1.545 MB / 1.047 GB, free: 140 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002031/1.461, allocations: 467 kB / 1.048 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002583/1.464, allocations: 432 kB / 1.048 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008551/1.472, allocations: 2.584 MB / 1.051 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.472, allocations: 3.938 kB / 1.051 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.808e-06/1.472, allocations: 0 / 1.051 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002188/1.473, allocations: 2.562 kB / 1.051 GB, free: 13.86 MB / 0.7637 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.008887/1.482, allocations: 2.122 MB / 1.053 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/1.482, allocations: 10.47 kB / 1.053 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/1.484, allocations: 382.5 kB / 1.053 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/1.488, allocations: 1.354 MB / 1.054 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/1.488, allocations: 106.7 kB / 1.055 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000464/1.489, allocations: 140 kB / 1.055 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/1.493, allocations: 1.503 MB / 1.056 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/1.493, allocations: 0 / 1.056 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/1.493, allocations: 60 kB / 1.056 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-05/1.493, allocations: 58.62 kB / 1.056 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/1.496, allocations: 1.15 MB / 1.057 GB, free: 7.934 MB / 0.7637 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.01137/1.507, allocations: 7.19 MB / 1.064 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.509, allocations: 0.8217 MB / 1.065 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007181/1.509, allocations: 454.6 kB / 1.066 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009328/1.51, allocations: 0.7279 MB / 1.066 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/1.51, allocations: 47.16 kB / 1.066 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=74): time 3.597e-06/1.51, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=74): time 0.006362/1.517, allocations: 2.122 MB / 1.068 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.517, allocations: 68 kB / 1.068 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/1.519, allocations: 1.301 MB / 1.07 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.519, allocations: 41.7 kB / 1.07 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000698/1.52, allocations: 0.7977 MB / 1.071 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/1.52, allocations: 256.3 kB / 1.071 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/1.52, allocations: 12 kB / 1.071 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.52, allocations: 345.9 kB / 1.071 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/1.521, allocations: 329.8 kB / 1.071 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/1.522, allocations: 0.5634 MB / 1.072 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/1.522, allocations: 414.8 kB / 1.072 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.522, allocations: 4 kB / 1.072 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002474/1.525, allocations: 1.26 MB / 1.074 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/1.525, allocations: 236.5 kB / 1.074 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.525, allocations: 8 kB / 1.074 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/1.527, allocations: 410.1 kB / 1.074 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/1.527, allocations: 160.5 kB / 1.074 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/1.529, allocations: 2.054 MB / 1.076 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.531, allocations: 191 kB / 1.077 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/1.531, allocations: 43.94 kB / 1.077 GB, free: 3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.531, allocations: 4 kB / 1.077 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001887/1.533, allocations: 1.056 MB / 1.078 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/1.533, allocations: 8 kB / 1.078 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/1.534, allocations: 370.5 kB / 1.078 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/1.535, allocations: 159.8 kB / 1.078 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/1.538, allocations: 3.849 MB / 1.082 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.54, allocations: 183.1 kB / 1.082 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/1.54, allocations: 36 kB / 1.082 GB, free: 13.04 MB / 0.795 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.00103/1.541, allocations: 476.1 kB / 1.083 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/1.541, allocations: 154.1 kB / 1.083 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/1.544, allocations: 1.214 MB / 1.084 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.544, allocations: 8 kB / 1.084 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/1.544, allocations: 0 / 1.084 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002203/1.546, allocations: 1.306 MB / 1.085 GB, free: 9.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/1.551, allocations: 2.762 MB / 1.088 GB, free: 6.914 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.551, allocations: 7.953 kB / 1.088 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/1.551, allocations: 108.2 kB / 1.088 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/1.553, allocations: 370.3 kB / 1.088 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/1.553, allocations: 20 kB / 1.088 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/1.554, allocations: 2.027 MB / 1.09 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.554, allocations: 7.969 kB / 1.09 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/1.556, allocations: 1.225 MB / 1.092 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/1.557, allocations: 338.9 kB / 1.092 GB, free: 2.664 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.557, allocations: 19.95 kB / 1.092 GB, free: 2.645 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000926/1.558, allocations: 119.7 kB / 1.092 GB, free: 2.527 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.558, allocations: 44.5 kB / 1.092 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/1.558, allocations: 31.98 kB / 1.092 GB, free: 2.453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001299/1.56, allocations: 0.8778 MB / 1.093 GB, free: 1.578 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.71e-07/1.56, allocations: 0 / 1.093 GB, free: 1.578 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002729/1.562, allocations: 0.9055 MB / 1.094 GB, free: 0.6719 MB / 0.795 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.0008891/1.563, allocations: 367.2 kB / 1.094 GB, free: 324 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003355/1.567, allocations: 1.665 MB / 1.096 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.567, allocations: 0 / 1.096 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000947/1.568, allocations: 474.7 kB / 1.096 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/1.571, allocations: 0.8004 MB / 1.097 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/1.576, allocations: 3.295 MB / 1.1 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/1.577, allocations: 1.336 MB / 1.102 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/1.577, allocations: 103.4 kB / 1.102 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of SimCode: time 1.753e-06/1.577, allocations: 0 / 1.102 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of Templates: time 0.0623/1.64, allocations: 47.54 MB / 1.148 GB, free: 9.164 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile make -j1 -f Buildings_8_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentCalcHelperMain.o] Error 1