Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, 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.0009959/0.000996, 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 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.171/1.171, allocations: 143.4 MB / 435.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 83.41 MB / 0.5981 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.00782/0.2138, allocations: 6.085 MB / 0.604 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6306/0.8444, allocations: 138.1 MB / 0.7388 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.8462, allocations: 26.97 kB / 0.7389 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.8474, allocations: 202.6 kB / 0.739 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.8503, allocations: 0.5791 MB / 0.7396 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.854, allocations: 1.011 MB / 0.7406 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004673/0.8586, allocations: 2.629 MB / 0.7432 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.8616, allocations: 2.005 MB / 0.7451 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.8636, allocations: 0.8359 MB / 0.7459 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.8652, allocations: 0.9983 MB / 0.7469 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.8654, allocations: 64 kB / 0.747 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.8668, allocations: 399.6 kB / 0.7474 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004872/0.8673, allocations: 433.8 kB / 0.7478 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.868, allocations: 0.5235 MB / 0.7483 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.8724, allocations: 4.29 MB / 0.7525 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.8724, allocations: 4 kB / 0.7525 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8724, allocations: 0 / 0.7525 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.466e-05/0.8725, allocations: 0 / 0.7525 GB, free: 13.32 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.006123/0.8786, allocations: 2.716 MB / 0.7551 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.8787, allocations: 8.031 kB / 0.7551 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.8931, allocations: 2.382 MB / 0.7575 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/0.8966, allocations: 1.581 MB / 0.759 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.8969, allocations: 246.6 kB / 0.7592 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008819/0.8978, allocations: 317 kB / 0.7595 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.9098, allocations: 4.309 MB / 0.7637 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.445e-05/0.9099, allocations: 4 kB / 0.7638 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005931/0.9105, allocations: 140 kB / 0.7639 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.177e-05/0.9106, allocations: 80 kB / 0.764 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.9264, allocations: 5.103 MB / 0.7689 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02605/0.9525, allocations: 10.37 MB / 0.7791 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009557/0.9622, allocations: 3.073 MB / 0.7821 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004885/0.9671, allocations: 1.636 MB / 0.7837 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009209/0.9681, allocations: 0.5152 MB / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006035/0.9741, allocations: 1.91 MB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=222): time 1.134e-05/0.9742, allocations: 0 / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=222): time 0.01677/0.991, allocations: 4.77 MB / 0.7907 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.9912, allocations: 206.5 kB / 0.7909 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.9935, allocations: 1.156 MB / 0.792 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004752/0.994, allocations: 65.64 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.9951, allocations: 1.062 MB / 0.7931 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.9962, allocations: 0.7238 MB / 0.7938 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.9966, allocations: 40 kB / 0.7939 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.9968, allocations: 382.6 kB / 0.7942 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004391/1.001, allocations: 1.37 MB / 0.7956 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00457/1.006, allocations: 1.555 MB / 0.7971 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005079/1.011, allocations: 1.419 MB / 0.7985 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/1.011, allocations: 0 / 0.7985 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01137/1.022, allocations: 3.393 MB / 0.8018 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.022, allocations: 8 kB / 0.8018 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.022, allocations: 0.75 kB / 0.8018 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/1.023, allocations: 84.84 kB / 0.8019 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00392/1.027, allocations: 0.6358 MB / 0.8025 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/1.029, allocations: 1.529 MB / 0.804 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/1.033, allocations: 387.4 kB / 0.8044 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006345/1.034, allocations: 107.9 kB / 0.8045 GB, free: 7.422 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.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 (248): * Single equations (assignments): 247 * 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.002171/1.036, allocations: 0.5483 MB / 0.805 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006957/1.037, allocations: 181.8 kB / 0.8052 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.05, allocations: 4.008 MB / 0.8091 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.05, allocations: 24 kB / 0.8091 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.05, allocations: 0 / 0.8091 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.865e-05/1.05, allocations: 11.95 kB / 0.8091 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.068, allocations: 7.181 MB / 0.8161 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.068, allocations: 0 / 0.8161 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003779/1.072, allocations: 0.5968 MB / 0.8167 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005475/1.072, allocations: 88.77 kB / 0.8168 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00046/1.073, allocations: 71.92 kB / 0.8169 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/1.075, allocations: 1.567 MB / 0.8184 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.075, allocations: 0 / 0.8184 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.086, allocations: 3.44 MB / 0.8218 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.088, allocations: 0.6812 MB / 0.8224 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00063/1.088, allocations: 43.98 kB / 0.8225 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.091, allocations: 269.2 kB / 0.8227 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/1.092, allocations: 149.8 kB / 0.8229 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003001/1.092, allocations: 87.92 kB / 0.8229 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001658/1.094, allocations: 0.8626 MB / 0.8238 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.094, allocations: 0 / 0.8238 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002601/1.096, allocations: 0.7625 MB / 0.8245 GB, free: 2.555 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001772/1.098, allocations: 0.6487 MB / 0.8252 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.109, allocations: 3.381 MB / 0.8285 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.109, allocations: 0 / 0.8285 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005664/1.114, allocations: 1.853 MB / 0.8303 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.117, allocations: 363 kB / 0.8306 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/1.132, allocations: 6.418 MB / 0.8369 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/1.134, allocations: 1.649 MB / 0.8385 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002377/1.136, allocations: 303.1 kB / 0.8388 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of SimCode: time 1.663e-06/1.136, allocations: 0 / 0.8388 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of Templates: time 0.4363/1.573, allocations: 51.61 MB / 0.8892 GB, free: 191.4 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.o] Error 1