Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, 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.002619/0.002619, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.91/1.91, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.812/1.812, 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.0005473/0.0005473, allocations: 20.78 kB / 0.6744 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3126, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002903/0.3156, allocations: 1.668 MB / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00467/0.3203, allocations: 3.439 MB / 0.7929 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3204, allocations: 0 / 0.7929 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.3207, allocations: 43.75 kB / 0.793 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.321, allocations: 99.41 kB / 0.7931 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.3214, allocations: 103.8 kB / 0.7932 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000349/0.3217, allocations: 211.1 kB / 0.7934 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.3219, allocations: 44.56 kB / 0.7934 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.3221, allocations: 99.55 kB / 0.7935 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.3223, allocations: 103.5 kB / 0.7936 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.3223, allocations: 4 kB / 0.7936 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.3225, allocations: 103.8 kB / 0.7937 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.3226, allocations: 39.83 kB / 0.7937 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.3226, allocations: 57.58 kB / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3229, allocations: 179.6 kB / 0.794 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3229, allocations: 0 / 0.794 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3229, allocations: 0 / 0.794 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3229, allocations: 0 / 0.794 GB, free: 5.711 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001089/0.324, allocations: 0.5879 MB / 0.7945 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3241, allocations: 8.031 kB / 0.7945 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.3241, allocations: 23.72 kB / 0.7946 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.3245, allocations: 266.4 kB / 0.7948 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3246, allocations: 8 kB / 0.7948 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.3246, allocations: 12 kB / 0.7948 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.3251, allocations: 189.4 kB / 0.795 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3251, allocations: 0 / 0.795 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3251, allocations: 4 kB / 0.795 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3252, allocations: 11.92 kB / 0.795 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006599/0.3258, allocations: 235.8 kB / 0.7953 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000936/0.3268, allocations: 492.5 kB / 0.7957 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.3272, allocations: 142.5 kB / 0.7959 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3275, allocations: 136.9 kB / 0.796 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009736/0.3285, allocations: 0.5727 MB / 0.7966 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3286, allocations: 38.5 kB / 0.7966 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.3286, allocations: 4 kB / 0.7966 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00118/0.3298, allocations: 421.3 kB / 0.797 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3298, allocations: 51.41 kB / 0.797 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.3301, allocations: 234.7 kB / 0.7973 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3301, allocations: 25.7 kB / 0.7973 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3302, allocations: 140 kB / 0.7974 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.3303, allocations: 35.45 kB / 0.7975 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.3303, allocations: 4 kB / 0.7975 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3305, allocations: 330.8 kB / 0.7978 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.3308, allocations: 119.9 kB / 0.7979 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.3311, allocations: 115.9 kB / 0.798 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.3314, allocations: 119.9 kB / 0.7981 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3314, allocations: 0 / 0.7981 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007382/0.3322, allocations: 301.2 kB / 0.7984 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3322, allocations: 7.953 kB / 0.7984 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3322, allocations: 4 kB / 0.7984 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3322, allocations: 0 / 0.7984 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.3326, allocations: 55.94 kB / 0.7985 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3326, allocations: 4 kB / 0.7985 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.3328, allocations: 35.97 kB / 0.7985 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3328, allocations: 7.984 kB / 0.7985 GB, free: 0.7148 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 (11): * Single equations (assignments): 11 * 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.0001288/0.333, allocations: 125.8 kB / 0.7986 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.333, allocations: 23.72 kB / 0.7987 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008579/0.3339, allocations: 331.8 kB / 0.799 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3339, allocations: 0 / 0.799 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3339, allocations: 0 / 0.799 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3339, allocations: 0 / 0.799 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.3343, allocations: 281.4 kB / 0.7992 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3343, allocations: 0 / 0.7992 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.3346, allocations: 59.89 kB / 0.7993 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3346, allocations: 0 / 0.7993 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3346, allocations: 3.984 kB / 0.7993 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3346, allocations: 11.89 kB / 0.7993 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3346, allocations: 4 kB / 0.7993 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.3355, allocations: 399.2 kB / 0.7997 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3356, allocations: 108.8 kB / 0.7998 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.3356, allocations: 4 kB / 0.7998 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3359, allocations: 39.95 kB / 0.7998 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.3359, allocations: 15.94 kB / 0.7999 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.336, allocations: 7.984 kB / 0.7999 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000165/0.3361, allocations: 166 kB / 0.8 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3361, allocations: 0 / 0.8 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003388/0.3365, allocations: 59.94 kB / 0.8001 GB, free: 15.01 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 (11): * Single equations (assignments): 11 * 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.0002953/0.3368, allocations: 139.1 kB / 0.8002 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007391/0.3375, allocations: 259.8 kB / 0.8005 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3375, allocations: 0 / 0.8005 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.3379, allocations: 139.8 kB / 0.8006 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.3384, allocations: 30.81 kB / 0.8006 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009066/0.3393, allocations: 0.5143 MB / 0.8011 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3397, allocations: 0.7355 MB / 0.8018 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.371e-05/0.3398, allocations: 19.42 kB / 0.8019 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3398, allocations: 0 / 0.8019 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.00566/0.3454, allocations: 2.97 MB / 0.8048 GB, free: 10.18 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.SolarCollectors.BaseClasses.Examples.EN12975SolarGainCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGainCalcHelperMain.o] Error 1