Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001592, allocations: 108.2 kB / 15.99 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9146/0.9146, allocations: 143.3 MB / 434 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 59.89 kB / 0.5146 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3094, allocations: 82.03 MB / 0.5947 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004389/0.3138, allocations: 4.121 MB / 0.5987 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1887/0.5025, allocations: 148.2 MB / 0.7435 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.5034, allocations: 15.94 kB / 0.7435 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005872/0.504, allocations: 135 kB / 0.7436 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.5056, allocations: 421.8 kB / 0.744 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.5075, allocations: 0.7182 MB / 0.7447 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.5089, allocations: 1.176 MB / 0.7459 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000986/0.5099, allocations: 0.6176 MB / 0.7465 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006619/0.5106, allocations: 438.4 kB / 0.7469 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.5112, allocations: 442 kB / 0.7473 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.5113, allocations: 100 kB / 0.7474 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008528/0.5122, allocations: 451.6 kB / 0.7479 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003447/0.5125, allocations: 271.1 kB / 0.7481 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005752/0.5131, allocations: 0.4935 MB / 0.7486 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5146, allocations: 1.177 MB / 0.7497 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5146, allocations: 0 / 0.7497 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.938e-06/0.5146, allocations: 0 / 0.7497 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.5147, allocations: 3.938 kB / 0.7498 GB, free: 0.918 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.3117/0.8264, allocations: 1.318 MB / 0.751 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.8264, allocations: 9.562 kB / 0.751 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.8276, allocations: 183 kB / 0.7512 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.8286, allocations: 0.7028 MB / 0.7519 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.8287, allocations: 59.38 kB / 0.752 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.8288, allocations: 75.69 kB / 0.752 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.8304, allocations: 0.8622 MB / 0.7529 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.8305, allocations: 3.938 kB / 0.7529 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.8306, allocations: 40.22 kB / 0.7529 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.8306, allocations: 21.53 kB / 0.7529 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.8323, allocations: 1.063 MB / 0.754 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.8361, allocations: 2.367 MB / 0.7563 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.8374, allocations: 0.803 MB / 0.7571 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/0.8379, allocations: 271.2 kB / 0.7573 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.838, allocations: 32.2 kB / 0.7574 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008476/0.8389, allocations: 433 kB / 0.7578 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/0.8389, allocations: 4.812 kB / 0.7578 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002989/0.8419, allocations: 1.062 MB / 0.7588 GB, free: 153 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.842, allocations: 193.5 kB / 0.759 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.8428, allocations: 0.5906 MB / 0.7596 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.8429, allocations: 42.86 kB / 0.7596 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.8431, allocations: 372.3 kB / 0.76 GB, free: 152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.8433, allocations: 238.7 kB / 0.7602 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.8435, allocations: 154.2 kB / 0.7604 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.8436, allocations: 380.3 kB / 0.7607 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.8441, allocations: 231.9 kB / 0.7609 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.8447, allocations: 328.7 kB / 0.7613 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.8459, allocations: 0.5487 MB / 0.7618 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8459, allocations: 0.5 kB / 0.7618 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001756/0.8477, allocations: 0.7658 MB / 0.7625 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8477, allocations: 11.84 kB / 0.7625 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8477, allocations: 0 / 0.7625 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/0.8483, allocations: 88.27 kB / 0.7626 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.8489, allocations: 144.6 kB / 0.7628 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.8508, allocations: 1.627 MB / 0.7644 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.8515, allocations: 88.59 kB / 0.7644 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.8516, allocations: 36.16 kB / 0.7645 GB, free: 148.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003804/0.8519, allocations: 257.2 kB / 0.7647 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.8521, allocations: 75.19 kB / 0.7648 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.854, allocations: 0.9971 MB / 0.7658 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.8541, allocations: 8 kB / 0.7658 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.8541, allocations: 4.562 kB / 0.7658 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.8541, allocations: 4.922 kB / 0.7658 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.8566, allocations: 1.848 MB / 0.7676 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.8566, allocations: 0.75 kB / 0.7676 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.8571, allocations: 143.8 kB / 0.7677 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/0.8575, allocations: 80.52 kB / 0.7678 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.8576, allocations: 23.98 kB / 0.7678 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.859, allocations: 1.666 MB / 0.7695 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.859, allocations: 5.328 kB / 0.7695 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.8605, allocations: 0.9062 MB / 0.7703 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.8608, allocations: 255.8 kB / 0.7706 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.8609, allocations: 16.78 kB / 0.7706 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.8614, allocations: 57.09 kB / 0.7707 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.8615, allocations: 60.42 kB / 0.7707 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.8616, allocations: 27.98 kB / 0.7707 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003644/0.8619, allocations: 435 kB / 0.7712 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8619, allocations: 0 / 0.7712 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007429/0.8627, allocations: 295.6 kB / 0.7714 GB, free: 141.6 MB / 0.5762 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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001772/0.8645, allocations: 0.5971 MB / 0.772 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.8663, allocations: 0.9461 MB / 0.7729 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8663, allocations: 0 / 0.7729 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.867, allocations: 0.4915 MB / 0.7734 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.868, allocations: 289.2 kB / 0.7737 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.8712, allocations: 2.087 MB / 0.7757 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.8716, allocations: 1.003 MB / 0.7767 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.8718, allocations: 107.4 kB / 0.7768 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.8718, allocations: 0 / 0.7768 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.01672/0.8885, allocations: 17.11 MB / 0.7935 GB, free: 119.2 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -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/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.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o] Error 1