Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 102.7 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.0008352/0.0008352, allocations: 172.9 kB / 16.58 MB, free: 6.863 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.516/1.516, allocations: 223.2 MB / 240.6 MB, free: 5.43 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.667/2.667, allocations: 390.5 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8638, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001926/0.8658, allocations: 1.772 MB / 0.9561 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003522/0.8693, allocations: 3.539 MB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.8695, allocations: 1.844 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.8697, allocations: 51.45 kB / 0.9597 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.87, allocations: 106 kB / 0.9598 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.8703, allocations: 120.2 kB / 0.9599 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.8707, allocations: 268.1 kB / 0.9601 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.8708, allocations: 51.31 kB / 0.9602 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.871, allocations: 119.2 kB / 0.9603 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.8712, allocations: 124.8 kB / 0.9604 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.8712, allocations: 9.625 kB / 0.9604 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.8714, allocations: 118.9 kB / 0.9605 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.8715, allocations: 44.02 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.8715, allocations: 62.08 kB / 0.9606 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.8718, allocations: 221 kB / 0.9608 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8718, allocations: 5.281 kB / 0.9608 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.542e-06/0.8718, allocations: 0 / 0.9608 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.8718, allocations: 0 / 0.9608 GB, free: 2.988 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001027/0.8728, allocations: 0.6324 MB / 0.9615 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8729, allocations: 9.094 kB / 0.9615 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.8737, allocations: 148.9 kB / 0.9616 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.8743, allocations: 331.5 kB / 0.9619 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.8744, allocations: 9.188 kB / 0.9619 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.8744, allocations: 10.44 kB / 0.962 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.875, allocations: 255.5 kB / 0.9622 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.875, allocations: 0 / 0.9622 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.8751, allocations: 5.328 kB / 0.9622 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8751, allocations: 1.375 kB / 0.9622 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/0.876, allocations: 339 kB / 0.9625 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.8772, allocations: 0.6007 MB / 0.9631 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.8777, allocations: 209.1 kB / 0.9633 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.8782, allocations: 184.5 kB / 0.9635 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/0.8789, allocations: 0.5786 MB / 0.9641 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.879, allocations: 31.53 kB / 0.9641 GB, free: 476 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.879, allocations: 0 / 0.9641 GB, free: 476 kB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001561/0.8805, allocations: 0.5689 MB / 0.9646 GB, free: 208 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.8806, allocations: 52.66 kB / 0.9647 GB, free: 144 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.8808, allocations: 266 kB / 0.9649 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.8809, allocations: 34.98 kB / 0.965 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.8811, allocations: 142.8 kB / 0.9651 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.8811, allocations: 53.38 kB / 0.9652 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.8811, allocations: 0 / 0.9652 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8813, allocations: 341.1 kB / 0.9655 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.8818, allocations: 173.7 kB / 0.9657 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.8823, allocations: 181.4 kB / 0.9658 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.8828, allocations: 173.9 kB / 0.966 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8828, allocations: 0 / 0.966 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001119/0.8839, allocations: 425 kB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.884, allocations: 5.781 kB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.884, allocations: 5 kB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.884, allocations: 4.969 kB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.8844, allocations: 83.77 kB / 0.9665 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.8845, allocations: 9.109 kB / 0.9665 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.8848, allocations: 51.27 kB / 0.9665 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.8848, allocations: 11.84 kB / 0.9666 GB, free: 14.92 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001449/0.885, allocations: 134.4 kB / 0.9667 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.885, allocations: 23.16 kB / 0.9667 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.8863, allocations: 434.7 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.8863, allocations: 5.109 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8863, allocations: 1.125 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.8863, allocations: 0 / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.8867, allocations: 309.1 kB / 0.9674 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8867, allocations: 1.031 kB / 0.9674 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.8871, allocations: 78.25 kB / 0.9675 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.8872, allocations: 5.156 kB / 0.9675 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.8872, allocations: 9.109 kB / 0.9675 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8872, allocations: 1.031 kB / 0.9675 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8872, allocations: 0 / 0.9675 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.8883, allocations: 0.4954 MB / 0.968 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.8885, allocations: 127.1 kB / 0.9681 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.8886, allocations: 1.312 kB / 0.9681 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.8889, allocations: 53.73 kB / 0.9682 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.889, allocations: 13.12 kB / 0.9682 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.889, allocations: 11.64 kB / 0.9682 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001858/0.8892, allocations: 184 kB / 0.9684 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8892, allocations: 4 kB / 0.9684 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000383/0.8896, allocations: 70.45 kB / 0.9684 GB, free: 13.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002563/0.8898, allocations: 124.2 kB / 0.9686 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.891, allocations: 379.6 kB / 0.9689 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.891, allocations: 4 kB / 0.9689 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.8916, allocations: 192.7 kB / 0.9691 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.892, allocations: 40.23 kB / 0.9692 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.8932, allocations: 0.6113 MB / 0.9697 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.8935, allocations: 0.7465 MB / 0.9705 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.8937, allocations: 30.25 kB / 0.9705 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.8937, allocations: 3.938 kB / 0.9705 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.006949/0.9007, allocations: 3.702 MB / 0.9741 GB, free: 10.12 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.o] Error 1