Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001004/0.001004, allocations: 99.52 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.00142/0.001419, allocations: 175.8 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.385/1.385, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.4 MB / 0.6662 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9045/0.9049, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006291/0.9113, allocations: 5.571 MB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1844/1.096, allocations: 137.8 MB / 1.094 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/1.098, allocations: 23.88 kB / 1.094 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007521/1.098, allocations: 182.3 kB / 1.095 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002578/1.101, allocations: 0.5605 MB / 1.095 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/1.104, allocations: 0.9795 MB / 1.096 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003399/1.107, allocations: 2.262 MB / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/1.109, allocations: 1.203 MB / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/1.11, allocations: 0.735 MB / 1.1 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/1.112, allocations: 0.8824 MB / 1.101 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/1.112, allocations: 64 kB / 1.101 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/1.113, allocations: 399.6 kB / 1.102 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000411/1.114, allocations: 386.2 kB / 1.102 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004623/1.114, allocations: 388.5 kB / 1.102 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002798/1.117, allocations: 2.591 MB / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.117, allocations: 0 / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/1.117, allocations: 0 / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.117e-05/1.117, allocations: 0 / 1.105 GB, free: 5.707 MB / 0.8575 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.005312/1.122, allocations: 2.293 MB / 1.107 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.122, allocations: 12.03 kB / 1.107 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/1.136, allocations: 2.295 MB / 1.109 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/1.139, allocations: 1.235 MB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/1.139, allocations: 168.5 kB / 1.111 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/1.139, allocations: 216 kB / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007835/1.147, allocations: 3.333 MB / 1.114 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/1.147, allocations: 3.938 kB / 1.114 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/1.147, allocations: 92 kB / 1.114 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/1.147, allocations: 59.94 kB / 1.114 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/1.159, allocations: 4.334 MB / 1.118 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/1.173, allocations: 7.351 MB / 1.126 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00767/1.181, allocations: 2.886 MB / 1.128 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003884/1.185, allocations: 1.493 MB / 1.13 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008084/1.186, allocations: 0.5033 MB / 1.13 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004564/1.19, allocations: 1.859 MB / 1.132 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=213): time 3.877e-06/1.19, allocations: 0 / 1.132 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=213): time 0.01278/1.203, allocations: 4.485 MB / 1.137 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.203, allocations: 201.9 kB / 1.137 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/1.204, allocations: 0.937 MB / 1.138 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/1.205, allocations: 69.69 kB / 1.138 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/1.205, allocations: 0.7387 MB / 1.139 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006202/1.206, allocations: 0.6776 MB / 1.139 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/1.206, allocations: 40 kB / 1.139 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.206, allocations: 381.9 kB / 1.14 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/1.21, allocations: 1.257 MB / 1.141 GB, free: 244 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/1.214, allocations: 1.445 MB / 1.142 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/1.217, allocations: 1.286 MB / 1.143 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.217, allocations: 4 kB / 1.143 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008511/1.226, allocations: 3.124 MB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.226, allocations: 8 kB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.226, allocations: 0 / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/1.226, allocations: 100.7 kB / 1.147 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/1.23, allocations: 0.6046 MB / 1.147 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/1.232, allocations: 1.517 MB / 1.149 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/1.234, allocations: 394.8 kB / 1.149 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/1.235, allocations: 99.89 kB / 1.149 GB, free: 7.488 MB / 0.9044 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.001032/1.236, allocations: 436.2 kB / 1.15 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/1.236, allocations: 158.1 kB / 1.15 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.247, allocations: 3.751 MB / 1.153 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/1.247, allocations: 24 kB / 1.153 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.247, allocations: 0 / 1.153 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/1.247, allocations: 11.95 kB / 1.153 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/1.25, allocations: 2.448 MB / 1.156 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.25, allocations: 0 / 1.156 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.253, allocations: 0.5773 MB / 1.156 GB, free: 16 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005165/1.254, allocations: 88.8 kB / 1.156 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/1.254, allocations: 71.91 kB / 1.157 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/1.256, allocations: 1.555 MB / 1.158 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.256, allocations: 64 / 1.158 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008962/1.265, allocations: 3.226 MB / 1.161 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.266, allocations: 0.5684 MB / 1.162 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/1.266, allocations: 44 kB / 1.162 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.269, allocations: 297.5 kB / 1.162 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/1.269, allocations: 149.8 kB / 1.162 GB, free: 9.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/1.269, allocations: 95.91 kB / 1.162 GB, free: 9.746 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000985/1.27, allocations: 0.6841 MB / 1.163 GB, free: 9.055 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.27, allocations: 4 kB / 1.163 GB, free: 9.051 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001762/1.272, allocations: 0.6426 MB / 1.164 GB, free: 8.406 MB / 0.92 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.001559/1.273, allocations: 0.6558 MB / 1.164 GB, free: 7.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008508/1.282, allocations: 3.174 MB / 1.167 GB, free: 4.746 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.282, allocations: 0 / 1.167 GB, free: 4.746 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004429/1.286, allocations: 1.767 MB / 1.169 GB, free: 2.965 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.288, allocations: 323.9 kB / 1.169 GB, free: 2.656 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009871/1.298, allocations: 5.156 MB / 1.174 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009659/1.299, allocations: 1.422 MB / 1.176 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.301, allocations: 283.2 kB / 1.176 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of SimCode: time 1.072e-06/1.301, allocations: 0 / 1.176 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.06123/1.362, allocations: 41.44 MB / 1.217 GB, free: 2.316 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f Buildings_9_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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1