Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009512/0.0009514, allocations: 99.98 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.001281/0.001281, allocations: 178.6 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.494/1.494, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 436.7 MB / 0.7113 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 12.22 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9291/0.9295, allocations: 153.7 MB / 1.022 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007071/0.9366, allocations: 5.58 MB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1742/1.111, allocations: 137.8 MB / 1.162 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/1.113, allocations: 23.88 kB / 1.162 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007664/1.113, allocations: 190.3 kB / 1.162 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/1.116, allocations: 0.5538 MB / 1.162 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002649/1.118, allocations: 0.9779 MB / 1.163 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003067/1.121, allocations: 2.266 MB / 1.166 GB, free: 13.33 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/1.123, allocations: 1.199 MB / 1.167 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/1.124, allocations: 0.7428 MB / 1.168 GB, free: 11.36 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/1.126, allocations: 0.8784 MB / 1.168 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/1.126, allocations: 64 kB / 1.168 GB, free: 10.42 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/1.127, allocations: 403.6 kB / 1.169 GB, free: 10.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/1.127, allocations: 382.2 kB / 1.169 GB, free: 9.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/1.128, allocations: 384.5 kB / 1.17 GB, free: 9.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/1.131, allocations: 2.591 MB / 1.172 GB, free: 6.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.131, allocations: 0 / 1.172 GB, free: 6.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.454e-06/1.131, allocations: 3.938 kB / 1.172 GB, free: 6.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.62e-05/1.131, allocations: 0 / 1.172 GB, free: 6.664 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005244/1.136, allocations: 2.295 MB / 1.174 GB, free: 4.289 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.136, allocations: 15.98 kB / 1.174 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/1.15, allocations: 2.299 MB / 1.177 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/1.153, allocations: 1.224 MB / 1.178 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/1.153, allocations: 168.5 kB / 1.178 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004178/1.154, allocations: 224 kB / 1.178 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008354/1.162, allocations: 3.333 MB / 1.181 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/1.162, allocations: 0 / 1.181 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/1.162, allocations: 92 kB / 1.181 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/1.162, allocations: 52 kB / 1.182 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/1.174, allocations: 4.338 MB / 1.186 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/1.189, allocations: 7.359 MB / 1.193 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007852/1.197, allocations: 2.893 MB / 1.196 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004046/1.201, allocations: 1.493 MB / 1.197 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007205/1.202, allocations: 0.5112 MB / 1.198 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004642/1.207, allocations: 1.844 MB / 1.2 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=213): time 3.907e-06/1.207, allocations: 0 / 1.2 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=213): time 0.01327/1.22, allocations: 4.489 MB / 1.204 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.22, allocations: 201.9 kB / 1.204 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/1.221, allocations: 0.937 MB / 1.205 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/1.222, allocations: 65.7 kB / 1.205 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000629/1.222, allocations: 0.7464 MB / 1.206 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006978/1.223, allocations: 0.6776 MB / 1.206 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/1.223, allocations: 36 kB / 1.207 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.223, allocations: 377.9 kB / 1.207 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003825/1.227, allocations: 1.265 MB / 1.208 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/1.231, allocations: 1.438 MB / 1.21 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/1.235, allocations: 1.294 MB / 1.211 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.235, allocations: 0 / 1.211 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009231/1.244, allocations: 3.128 MB / 1.214 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.244, allocations: 12.05 kB / 1.214 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.245, allocations: 4 kB / 1.214 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/1.245, allocations: 84.78 kB / 1.214 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003837/1.249, allocations: 0.6125 MB / 1.215 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/1.251, allocations: 1.53 MB / 1.216 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/1.256, allocations: 395.7 kB / 1.216 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008356/1.257, allocations: 99.88 kB / 1.216 GB, free: 8.418 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001772/1.258, allocations: 440 kB / 1.217 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/1.259, allocations: 154.1 kB / 1.217 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.27, allocations: 3.747 MB / 1.221 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/1.27, allocations: 20 kB / 1.221 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.27, allocations: 0 / 1.221 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/1.27, allocations: 19.91 kB / 1.221 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/1.274, allocations: 2.452 MB / 1.223 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/1.274, allocations: 0 / 1.223 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.277, allocations: 0.5617 MB / 1.224 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/1.278, allocations: 92.77 kB / 1.224 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/1.278, allocations: 71.92 kB / 1.224 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/1.28, allocations: 1.552 MB / 1.225 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.28, allocations: 3.938 kB / 1.225 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009356/1.289, allocations: 3.222 MB / 1.229 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.29, allocations: 0.5685 MB / 1.229 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/1.291, allocations: 36 kB / 1.229 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/1.293, allocations: 299.7 kB / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/1.294, allocations: 149.9 kB / 1.23 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.294, allocations: 103.9 kB / 1.23 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001102/1.295, allocations: 0.6841 MB / 1.23 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/1.295, allocations: 3.938 kB / 1.23 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001982/1.297, allocations: 0.6464 MB / 1.231 GB, free: 9.328 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/1.299, allocations: 0.6535 MB / 1.232 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009271/1.308, allocations: 3.17 MB / 1.235 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.308, allocations: 0 / 1.235 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004944/1.313, allocations: 1.759 MB / 1.236 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.315, allocations: 336 kB / 1.237 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.325, allocations: 5.151 MB / 1.242 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.326, allocations: 1.43 MB / 1.243 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/1.328, allocations: 287.1 kB / 1.243 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/1.328, allocations: 0 / 1.243 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of Templates: time 0.6819/2.01, allocations: 41.43 MB / 1.284 GB, free: 214.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1