Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001379/0.001379, allocations: 96.14 kB / 15.87 MB, free: 16 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.001674/0.001674, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.79/1.79, allocations: 205.1 MB / 222.6 MB, free: 4.824 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.81/1.81, allocations: 292.3 MB / 0.5491 GB, free: 13.59 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.001397/0.001397, allocations: 63.62 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3143, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003836/0.3182, allocations: 2.193 MB / 0.7855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004841/0.3231, allocations: 3.772 MB / 0.7892 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3232, allocations: 0 / 0.7892 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.3236, allocations: 47.69 kB / 0.7892 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.324, allocations: 111.3 kB / 0.7893 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.3243, allocations: 131.7 kB / 0.7894 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.3246, allocations: 298.8 kB / 0.7897 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3248, allocations: 60.69 kB / 0.7898 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.325, allocations: 115.5 kB / 0.7899 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.3252, allocations: 139.4 kB / 0.79 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.3253, allocations: 12 kB / 0.79 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.3255, allocations: 127.8 kB / 0.7901 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.3256, allocations: 55.75 kB / 0.7902 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3257, allocations: 111.3 kB / 0.7903 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.3261, allocations: 223.5 kB / 0.7905 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3261, allocations: 4 kB / 0.7905 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3261, allocations: 0 / 0.7905 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3261, allocations: 0 / 0.7905 GB, free: 6.574 MB / 0.6075 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.00133/0.3274, allocations: 0.6347 MB / 0.7911 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3275, allocations: 8.031 kB / 0.7912 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.3285, allocations: 168.4 kB / 0.7913 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.3292, allocations: 332.1 kB / 0.7916 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3293, allocations: 8.562 kB / 0.7916 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.3293, allocations: 15.94 kB / 0.7917 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.33, allocations: 224.3 kB / 0.7919 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.33, allocations: 0 / 0.7919 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.3301, allocations: 4 kB / 0.7919 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3301, allocations: 4 kB / 0.7919 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009718/0.331, allocations: 287.6 kB / 0.7921 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.3324, allocations: 0.5745 MB / 0.7927 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.333, allocations: 174.4 kB / 0.7929 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.3335, allocations: 160.7 kB / 0.793 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009447/0.3345, allocations: 0.5454 MB / 0.7936 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3345, allocations: 38.56 kB / 0.7936 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3345, allocations: 0 / 0.7936 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001663/0.3362, allocations: 485.2 kB / 0.7941 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3363, allocations: 59.34 kB / 0.7941 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.3365, allocations: 264.6 kB / 0.7944 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.3366, allocations: 29.7 kB / 0.7944 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3367, allocations: 144 kB / 0.7945 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.3368, allocations: 51.28 kB / 0.7946 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.3369, allocations: 37.69 kB / 0.7946 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.337, allocations: 342.8 kB / 0.7949 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.3376, allocations: 147.9 kB / 0.7951 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.3381, allocations: 150.8 kB / 0.7952 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00095/0.339, allocations: 288.6 kB / 0.7955 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.339, allocations: 3.938 kB / 0.7955 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001354/0.3404, allocations: 365 kB / 0.7959 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.3405, allocations: 10.97 kB / 0.7959 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3405, allocations: 7.875 kB / 0.7959 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3405, allocations: 0 / 0.7959 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.3409, allocations: 67.92 kB / 0.7959 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.341, allocations: 0 / 0.7959 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.3413, allocations: 55.72 kB / 0.796 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3413, allocations: 4 kB / 0.796 GB, free: 0.6367 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.3415, allocations: 133.8 kB / 0.7961 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/0.3416, allocations: 27.62 kB / 0.7962 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3427, allocations: 375.3 kB / 0.7965 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3427, allocations: 4 kB / 0.7965 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3428, allocations: 0 / 0.7965 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.3428, allocations: 7.922 kB / 0.7965 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.3432, allocations: 293.5 kB / 0.7968 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3432, allocations: 0 / 0.7968 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.3436, allocations: 63.86 kB / 0.7969 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3436, allocations: 0 / 0.7969 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3436, allocations: 11.98 kB / 0.7969 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3436, allocations: 0 / 0.7969 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3436, allocations: 0 / 0.7969 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.3447, allocations: 447.8 kB / 0.7973 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.3449, allocations: 124.7 kB / 0.7974 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.3449, allocations: 12 kB / 0.7974 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.3453, allocations: 31.95 kB / 0.7975 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.3454, allocations: 15.97 kB / 0.7975 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.3454, allocations: 11.92 kB / 0.7975 GB, free: 15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002088/0.3456, allocations: 191.1 kB / 0.7977 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3456, allocations: 0 / 0.7977 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003574/0.346, allocations: 64 kB / 0.7977 GB, free: 14.76 MB / 0.6231 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 (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.0002545/0.3462, allocations: 139.1 kB / 0.7979 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.3474, allocations: 323 kB / 0.7982 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3474, allocations: 0 / 0.7982 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.3479, allocations: 163.8 kB / 0.7983 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.3484, allocations: 36.56 kB / 0.7984 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3496, allocations: 0.5948 MB / 0.7989 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.3501, allocations: 0.7477 MB / 0.7997 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3502, allocations: 31.41 kB / 0.7997 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of SimCode: time 4.6e-07/0.3502, allocations: 0 / 0.7997 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.006285/0.3565, allocations: 3.708 MB / 0.8033 GB, free: 8.988 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGainCalcHelperMain.o] Error 1