Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0008759/0.0008759, 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.001025/0.001025, allocations: 174.9 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.424/1.424, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 436.7 MB / 0.7113 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 12.22 kB / 0.8717 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9485/0.9489, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003048/0.952, allocations: 1.789 MB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005754/0.9577, allocations: 3.538 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.958, allocations: 3.938 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.9583, allocations: 39.75 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005148/0.9588, allocations: 115.2 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.9594, allocations: 119.8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.9598, allocations: 270.8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.9601, allocations: 52.89 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.9604, allocations: 115.5 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.9606, allocations: 123.4 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.9607, allocations: 12 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.961, allocations: 115.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.9611, allocations: 47.81 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.9612, allocations: 61.52 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.9616, allocations: 231.4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.9616, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9616, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9616, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 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.001588/0.9632, allocations: 0.625 MB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.9633, allocations: 15.98 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.9645, allocations: 155.4 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.9655, allocations: 319.2 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.9655, allocations: 12.14 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.9656, allocations: 19.88 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009362/0.9665, allocations: 251.5 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.9666, allocations: 0 / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.9666, allocations: 4 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.9666, allocations: 4 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.968, allocations: 336.9 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.9697, allocations: 0.5983 MB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.9705, allocations: 198.4 kB / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/0.9712, allocations: 188.7 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.9725, allocations: 0.5767 MB / 1.031 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.9725, allocations: 38.45 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.9725, allocations: 0 / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.002314/0.9748, allocations: 0.5742 MB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.9749, allocations: 51.41 kB / 1.032 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.9753, allocations: 256.6 kB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.9754, allocations: 29.7 kB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.9755, allocations: 152 kB / 1.032 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.9756, allocations: 39.31 kB / 1.032 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.9756, allocations: 8 kB / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.9758, allocations: 342.8 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007461/0.9766, allocations: 167.9 kB / 1.033 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/0.9773, allocations: 179.9 kB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.9781, allocations: 173.5 kB / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.9781, allocations: 3.938 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001693/0.9798, allocations: 433 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.9799, allocations: 13.05 kB / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.9799, allocations: 0 / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.9799, allocations: 0 / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.9806, allocations: 83.91 kB / 1.034 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.9806, allocations: 0 / 1.034 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.9811, allocations: 59.86 kB / 1.034 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.9811, allocations: 7.984 kB / 1.034 GB, free: 4.316 MB / 0.7794 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.0002136/0.9813, allocations: 133.7 kB / 1.034 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.9814, allocations: 23.72 kB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.9833, allocations: 447.2 kB / 1.034 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9833, allocations: 0 / 1.034 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.9833, allocations: 4 kB / 1.034 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.9833, allocations: 7.938 kB / 1.034 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.9839, allocations: 297.5 kB / 1.035 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.9839, allocations: 0 / 1.035 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.9845, allocations: 75.91 kB / 1.035 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.9846, allocations: 0 / 1.035 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.9846, allocations: 19.89 kB / 1.035 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.9846, allocations: 0 / 1.035 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9846, allocations: 3.984 kB / 1.035 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.9863, allocations: 0.4911 MB / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.9865, allocations: 120.7 kB / 1.035 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.9866, allocations: 4 kB / 1.035 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.9871, allocations: 59.89 kB / 1.035 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.9872, allocations: 15.97 kB / 1.036 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.9872, allocations: 4 kB / 1.036 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000256/0.9875, allocations: 187.1 kB / 1.036 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9875, allocations: 0 / 1.036 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006339/0.9882, allocations: 79.92 kB / 1.036 GB, free: 2.273 MB / 0.7794 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.0003254/0.9885, allocations: 127.2 kB / 1.036 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.9902, allocations: 379.7 kB / 1.036 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.9902, allocations: 0 / 1.036 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008205/0.991, allocations: 202.9 kB / 1.036 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006763/0.9917, allocations: 31.45 kB / 1.036 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.9934, allocations: 0.6132 MB / 1.037 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.9939, allocations: 0.7477 MB / 1.038 GB, free: 128 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.9941, allocations: 23.41 kB / 1.038 GB, free: 104 kB / 0.7794 GB Notification: Performance of SimCode: time 1.192e-06/0.9941, allocations: 0 / 1.038 GB, free: 104 kB / 0.7794 GB Notification: Performance of Templates: time 0.01056/1.005, allocations: 3.707 MB / 1.041 GB, free: 12.42 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.o] Error 1