Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007867, allocations: 92.39 kB / 16.02 MB, free: 80 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.0007934/0.0007936, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.321/1.321, allocations: 223.2 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 259 kB / 292.3 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9094/0.9094, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004328, allocations: 16.81 kB / 0.5993 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1746, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.592/0.7666, allocations: 232.2 MB / 0.9125 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0208/0.7875, allocations: 15.75 MB / 0.9279 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.7895, allocations: 51.62 kB / 0.9279 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.7919, allocations: 0.8705 MB / 0.9288 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007788/0.7997, allocations: 2.794 MB / 0.9315 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.8039, allocations: 1.51 MB / 0.933 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005937/0.8098, allocations: 4.661 MB / 0.9376 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.8114, allocations: 1.04 MB / 0.9386 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006043/0.8175, allocations: 2.215 MB / 0.9407 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.8198, allocations: 1.067 MB / 0.9418 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.8201, allocations: 52 kB / 0.9418 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006386/0.8264, allocations: 3.577 MB / 0.9453 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.8269, allocations: 398.5 kB / 0.9457 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.8281, allocations: 0.7437 MB / 0.9464 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.831, allocations: 2.155 MB / 0.9485 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.831, allocations: 0 / 0.9485 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.454e-06/0.831, allocations: 0 / 0.9485 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.831, allocations: 0 / 0.9485 GB, free: 2.633 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003098/0.8341, allocations: 1.714 MB / 0.9502 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8342, allocations: 8.031 kB / 0.9502 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.8369, allocations: 0.5405 MB / 0.9507 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.8389, allocations: 1.129 MB / 0.9518 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009644/0.8399, allocations: 273.8 kB / 0.9521 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.84, allocations: 96 kB / 0.9522 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.8424, allocations: 1.342 MB / 0.9535 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.8425, allocations: 0 / 0.9535 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.8426, allocations: 40 kB / 0.9535 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/0.8426, allocations: 45.98 kB / 0.9536 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.8452, allocations: 1.116 MB / 0.9547 GB, free: 12.13 MB / 0.67 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.00744/0.8526, allocations: 6.655 MB / 0.9612 GB, free: 5.039 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.8543, allocations: 0.6011 MB / 0.9618 GB, free: 4.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/0.855, allocations: 289.2 kB / 0.962 GB, free: 4.145 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004374/0.8555, allocations: 279.5 kB / 0.9623 GB, free: 3.816 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.8555, allocations: 50.78 kB / 0.9624 GB, free: 3.758 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.454e-06/0.8555, allocations: 0 / 0.9624 GB, free: 3.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.00248/0.858, allocations: 0.9106 MB / 0.9632 GB, free: 2.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.8581, allocations: 55.41 kB / 0.9633 GB, free: 2.773 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.8599, allocations: 1.366 MB / 0.9646 GB, free: 1.398 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.8599, allocations: 33.7 kB / 0.9647 GB, free: 1.359 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.8605, allocations: 0.6834 MB / 0.9653 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.8606, allocations: 118.3 kB / 0.9654 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.8607, allocations: 57.69 kB / 0.9655 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8608, allocations: 333.9 kB / 0.9658 GB, free: 164 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009022/0.8617, allocations: 325.1 kB / 0.9661 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.8629, allocations: 0.6457 MB / 0.9668 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.8647, allocations: 0.8952 MB / 0.9676 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8647, allocations: 0 / 0.9676 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002374/0.8671, allocations: 1.034 MB / 0.9686 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002946/0.8674, allocations: 370.5 kB / 0.969 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.8674, allocations: 12 kB / 0.969 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.8675, allocations: 12 kB / 0.969 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/0.8683, allocations: 207.7 kB / 0.9692 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.8683, allocations: 19.92 kB / 0.9692 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.8698, allocations: 222.8 kB / 0.9694 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.8699, allocations: 43.98 kB / 0.9695 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.8699, allocations: 4 kB / 0.9695 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002192/0.8721, allocations: 0.8898 MB / 0.9704 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.8721, allocations: 8 kB / 0.9704 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.8721, allocations: 19.94 kB / 0.9704 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/0.8729, allocations: 200.3 kB / 0.9706 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.873, allocations: 23.92 kB / 0.9706 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.8743, allocations: 191 kB / 0.9708 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/0.8743, allocations: 43.98 kB / 0.9708 GB, free: 10.61 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006335/0.875, allocations: 414.1 kB / 0.9712 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.8752, allocations: 138.3 kB / 0.9713 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.877, allocations: 0.6984 MB / 0.972 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.877, allocations: 0 / 0.972 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.877, allocations: 4 kB / 0.972 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.877, allocations: 4 kB / 0.972 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/0.881, allocations: 1.97 MB / 0.974 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.881, allocations: 4 kB / 0.974 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.8815, allocations: 100 kB / 0.9741 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.8815, allocations: 4 kB / 0.9741 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.8816, allocations: 15.94 kB / 0.9741 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.8816, allocations: 19.86 kB / 0.9741 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8816, allocations: 4 kB / 0.9741 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.8833, allocations: 0.8475 MB / 0.9749 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.8838, allocations: 299 kB / 0.9752 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/0.8841, allocations: 12 kB / 0.9752 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.8853, allocations: 111.9 kB / 0.9753 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.8854, allocations: 35.84 kB / 0.9754 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.8855, allocations: 23.98 kB / 0.9754 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001593/0.8871, allocations: 0.9964 MB / 0.9764 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.2e-07/0.8871, allocations: 0 / 0.9764 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001905/0.889, allocations: 0.5733 MB / 0.9769 GB, free: 4.145 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006912/0.8897, allocations: 269.8 kB / 0.9772 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002929/0.8926, allocations: 1.135 MB / 0.9783 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8927, allocations: 0.9375 kB / 0.9783 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000727/0.8934, allocations: 284.4 kB / 0.9786 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/0.8979, allocations: 0.7912 MB / 0.9793 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.9039, allocations: 2.765 MB / 0.982 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.9049, allocations: 1.176 MB / 0.9832 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.9054, allocations: 107.4 kB / 0.9833 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of SimCode: time 1.443e-06/0.9054, allocations: 4 kB / 0.9833 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of Templates: time 0.03587/0.9413, allocations: 21.72 MB / 1.005 GB, free: 8.004 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1