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.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.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.001067/0.001067, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001077/0.001077, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.078/1.078, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.192, allocations: 83.42 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005239/0.1973, allocations: 3.451 MB / 0.6007 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5149/0.7122, allocations: 127.4 MB / 0.7251 GB, free: 3.227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007902/0.7131, allocations: 17 kB / 0.7251 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.7135, allocations: 70.47 kB / 0.7252 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.7151, allocations: 466.1 kB / 0.7256 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.717, allocations: 0.6026 MB / 0.7262 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.7184, allocations: 0.744 MB / 0.727 GB, free: 2.203 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007393/0.7192, allocations: 468.4 kB / 0.7274 GB, free: 2.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.7197, allocations: 303.2 kB / 0.7277 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.7202, allocations: 294.2 kB / 0.728 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.7202, allocations: 25.3 kB / 0.728 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.7211, allocations: 299.8 kB / 0.7283 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.7213, allocations: 165.7 kB / 0.7284 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.7215, allocations: 177.9 kB / 0.7286 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.7229, allocations: 1.134 MB / 0.7297 GB, free: 1.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7229, allocations: 0 / 0.7297 GB, free: 1.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7229, allocations: 0 / 0.7297 GB, free: 1.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.7229, allocations: 0 / 0.7297 GB, free: 1.191 MB / 0.545 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.00268/0.7256, allocations: 1.133 MB / 0.7308 GB, free: 404 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7257, allocations: 8.812 kB / 0.7308 GB, free: 404 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.7266, allocations: 196.8 kB / 0.731 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.7281, allocations: 0.6815 MB / 0.7317 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.7281, allocations: 59.19 kB / 0.7317 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.7283, allocations: 80.22 kB / 0.7318 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.7302, allocations: 0.8524 MB / 0.7326 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.7302, allocations: 1.875 kB / 0.7327 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.7303, allocations: 32.91 kB / 0.7327 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.7303, allocations: 19.25 kB / 0.7327 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.7324, allocations: 1.071 MB / 0.7337 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/0.7372, allocations: 2.409 MB / 0.7361 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.7388, allocations: 0.7959 MB / 0.7369 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.7389, allocations: 35.36 kB / 0.7369 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008944/0.7398, allocations: 422.6 kB / 0.7373 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.7398, allocations: 0 / 0.7373 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.003239/0.743, allocations: 1.081 MB / 0.7384 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.7432, allocations: 198.4 kB / 0.7386 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009688/0.7442, allocations: 0.5736 MB / 0.7391 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/0.7442, allocations: 41.7 kB / 0.7392 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.7446, allocations: 380 kB / 0.7395 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/0.7451, allocations: 236.6 kB / 0.7397 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.7451, allocations: 12 kB / 0.7398 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7453, allocations: 377.4 kB / 0.7401 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.7457, allocations: 217.6 kB / 0.7403 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.7464, allocations: 323.5 kB / 0.7406 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.7469, allocations: 263.2 kB / 0.7409 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.747, allocations: 0 / 0.7409 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001821/0.7488, allocations: 0.7197 MB / 0.7416 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.7488, allocations: 8 kB / 0.7416 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7488, allocations: 3.953 kB / 0.7416 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.7495, allocations: 84.86 kB / 0.7417 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.7501, allocations: 140.4 kB / 0.7418 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.7525, allocations: 1.529 MB / 0.7433 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.7533, allocations: 87.36 kB / 0.7434 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.7533, allocations: 27.98 kB / 0.7434 GB, free: 5.734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0005573/0.7539, allocations: 245.8 kB / 0.7437 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.754, allocations: 75.06 kB / 0.7437 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.7563, allocations: 1.014 MB / 0.7447 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.7564, allocations: 8.234 kB / 0.7447 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7564, allocations: 0.875 kB / 0.7447 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.7564, allocations: 7.969 kB / 0.7447 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.76, allocations: 1.88 MB / 0.7466 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.76, allocations: 0 / 0.7466 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.7606, allocations: 143.8 kB / 0.7467 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.7612, allocations: 80.78 kB / 0.7468 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.7612, allocations: 31 kB / 0.7468 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.7634, allocations: 1.559 MB / 0.7483 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7635, allocations: 0 / 0.7483 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.7654, allocations: 0.918 MB / 0.7492 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.7659, allocations: 263.8 kB / 0.7495 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.766, allocations: 19.98 kB / 0.7495 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.7666, allocations: 63.95 kB / 0.7496 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.7667, allocations: 64.91 kB / 0.7496 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.7668, allocations: 31.98 kB / 0.7497 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005495/0.7674, allocations: 431 kB / 0.7501 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7674, allocations: 0 / 0.7501 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009206/0.7683, allocations: 287.2 kB / 0.7503 GB, free: 14.4 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 (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.0013/0.7696, allocations: 0.5879 MB / 0.7509 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.7712, allocations: 0.7315 MB / 0.7516 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7712, allocations: 3.938 kB / 0.7516 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007937/0.772, allocations: 492.3 kB / 0.7521 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.7731, allocations: 249.2 kB / 0.7523 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.7769, allocations: 2.035 MB / 0.7543 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.7775, allocations: 1.015 MB / 0.7553 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008179/0.7784, allocations: 252.8 kB / 0.7556 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.7786, allocations: 107.4 kB / 0.7557 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.7786, allocations: 0 / 0.7557 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of Templates: time 0.02205/0.8007, allocations: 12.92 MB / 0.7683 GB, free: 12.33 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_functions.o] Error 1