Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 102.6 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.00115/0.001151, allocations: 176.6 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.833/1.833, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.916/1.916, 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.0005613/0.0005613, allocations: 20.66 kB / 0.6744 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3139, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002259/0.3162, allocations: 1.57 MB / 0.7895 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.3204, allocations: 3.229 MB / 0.7926 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.3206, allocations: 0 / 0.7926 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.3208, allocations: 39.81 kB / 0.7926 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004464/0.3213, allocations: 115.4 kB / 0.7928 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.385e-05/0.3214, allocations: 19.97 kB / 0.7928 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.3217, allocations: 163.2 kB / 0.7929 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3218, allocations: 25.67 kB / 0.793 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.322, allocations: 75.7 kB / 0.793 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.3222, allocations: 75.61 kB / 0.7931 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.3222, allocations: 4 kB / 0.7931 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.3223, allocations: 19.98 kB / 0.7931 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.3224, allocations: 31.84 kB / 0.7932 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.3225, allocations: 53.64 kB / 0.7932 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.3226, allocations: 103.8 kB / 0.7933 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.3227, allocations: 3.984 kB / 0.7933 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3227, allocations: 3.938 kB / 0.7933 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3227, allocations: 0 / 0.7933 GB, free: 6.375 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008918/0.3236, allocations: 0.4944 MB / 0.7938 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3236, allocations: 11.97 kB / 0.7938 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.3237, allocations: 19.77 kB / 0.7938 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.324, allocations: 229.8 kB / 0.794 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3241, allocations: 8 kB / 0.7941 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3241, allocations: 8 kB / 0.7941 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3245, allocations: 145.5 kB / 0.7942 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3245, allocations: 0 / 0.7942 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.3245, allocations: 4 kB / 0.7942 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/0.3246, allocations: 8 kB / 0.7942 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.325, allocations: 151.9 kB / 0.7944 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.3258, allocations: 452.4 kB / 0.7948 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.3262, allocations: 174.4 kB / 0.795 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.3265, allocations: 116.8 kB / 0.7951 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3265, allocations: 4 kB / 0.7951 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3266, allocations: 30.56 kB / 0.7951 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.3266, allocations: 0 / 0.7951 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000851/0.3274, allocations: 312.8 kB / 0.7954 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.3276, allocations: 55.41 kB / 0.7954 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.3278, allocations: 209 kB / 0.7956 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3279, allocations: 29.7 kB / 0.7957 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.328, allocations: 120.1 kB / 0.7958 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.328, allocations: 43.34 kB / 0.7958 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.328, allocations: 4 kB / 0.7958 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003249/0.3284, allocations: 330.8 kB / 0.7962 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.3286, allocations: 75.94 kB / 0.7962 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.3288, allocations: 79.94 kB / 0.7963 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.3291, allocations: 83.94 kB / 0.7964 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3291, allocations: 0 / 0.7964 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005955/0.3297, allocations: 229.2 kB / 0.7966 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3298, allocations: 4 kB / 0.7966 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3298, allocations: 7.984 kB / 0.7966 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3298, allocations: 7.953 kB / 0.7966 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.3301, allocations: 39.91 kB / 0.7967 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3301, allocations: 0 / 0.7967 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3303, allocations: 23.91 kB / 0.7967 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3303, allocations: 8 kB / 0.7967 GB, free: 2.703 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 (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 prepare postOptimizeDAE: time 0.0001492/0.3304, allocations: 130.5 kB / 0.7968 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.3305, allocations: 15.81 kB / 0.7968 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.3306, allocations: 21.84 kB / 0.7968 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.3306, allocations: 3.953 kB / 0.7968 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3306, allocations: 8 kB / 0.7969 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3306, allocations: 3.984 kB / 0.7969 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.3309, allocations: 253.5 kB / 0.7971 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3309, allocations: 0 / 0.7971 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.3312, allocations: 47.89 kB / 0.7971 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3312, allocations: 0 / 0.7971 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3312, allocations: 4 kB / 0.7972 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3312, allocations: 3.938 kB / 0.7972 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3312, allocations: 3.953 kB / 0.7972 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.3318, allocations: 326.5 kB / 0.7975 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.332, allocations: 116.7 kB / 0.7976 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.332, allocations: 4 kB / 0.7976 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.3322, allocations: 15.98 kB / 0.7976 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.3323, allocations: 11.98 kB / 0.7976 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3323, allocations: 11.94 kB / 0.7976 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001336/0.3324, allocations: 148.5 kB / 0.7978 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.422e-06/0.3325, allocations: 4 kB / 0.7978 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002822/0.3327, allocations: 35.94 kB / 0.7978 GB, free: 1.465 MB / 0.6075 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.0001843/0.3329, allocations: 111.2 kB / 0.7979 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005607/0.3335, allocations: 175.9 kB / 0.7981 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3335, allocations: 0 / 0.7981 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.3338, allocations: 107.9 kB / 0.7982 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.3342, allocations: 23.09 kB / 0.7982 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009435/0.3352, allocations: 0.4972 MB / 0.7987 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.3357, allocations: 0.7278 MB / 0.7994 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.3358, allocations: 23.42 kB / 0.7994 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of SimCode: time 2.504e-06/0.3358, allocations: 0 / 0.7994 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.004872/0.3406, allocations: 2.21 MB / 0.8016 GB, free: 13.55 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLossCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLossCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLossCalcHelperMain.o] Error 1