Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.008502/0.008502, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001572/0.001572, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.54/1.54, allocations: 222.9 MB / 240.4 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00249/0.00249, allocations: 294.3 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 169.2 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 93.91 kB / 0.5951 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2704, allocations: 86.97 MB / 0.6801 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.009949/0.2804, allocations: 4.424 MB / 0.6844 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.8044/1.085, allocations: 148.3 MB / 0.8292 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/1.086, allocations: 15.03 kB / 0.8292 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007774/1.087, allocations: 140.3 kB / 0.8293 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/1.089, allocations: 444.9 kB / 0.8298 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002532/1.092, allocations: 0.7321 MB / 0.8305 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00221/1.094, allocations: 1.252 MB / 0.8317 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/1.095, allocations: 0.6138 MB / 0.8323 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/1.096, allocations: 421.4 kB / 0.8327 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/1.097, allocations: 484 kB / 0.8332 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/1.097, allocations: 56.53 kB / 0.8332 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/1.099, allocations: 400.1 kB / 0.8336 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/1.099, allocations: 245.2 kB / 0.8338 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006444/1.1, allocations: 0.4995 MB / 0.8343 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/1.101, allocations: 1.202 MB / 0.8355 GB, free: 8 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.101, allocations: 1.125 kB / 0.8355 GB, free: 8 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/1.101, allocations: 0 / 0.8355 GB, free: 8 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.6e-05/1.101, allocations: 0 / 0.8355 GB, free: 8 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003584/1.105, allocations: 1.451 MB / 0.8369 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.105, allocations: 9.375 kB / 0.8369 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.106, allocations: 187.5 kB / 0.8371 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/1.107, allocations: 0.7602 MB / 0.8378 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/1.108, allocations: 64.88 kB / 0.8379 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/1.108, allocations: 82.3 kB / 0.838 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/1.11, allocations: 0.9424 MB / 0.8389 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.11, allocations: 0 / 0.8389 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/1.11, allocations: 40.88 kB / 0.8389 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/1.11, allocations: 20.5 kB / 0.839 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/1.112, allocations: 1.125 MB / 0.8401 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005269/1.117, allocations: 2.53 MB / 0.8425 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/1.119, allocations: 0.9216 MB / 0.8434 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/1.12, allocations: 305.4 kB / 0.8437 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-05/1.12, allocations: 34.08 kB / 0.8437 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/1.121, allocations: 0.5146 MB / 0.8442 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 3.145e-06/1.121, allocations: 3.938 kB / 0.8443 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003538/1.125, allocations: 1.249 MB / 0.8455 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.125, allocations: 192.5 kB / 0.8457 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.126, allocations: 0.6405 MB / 0.8463 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.995e-05/1.126, allocations: 40.58 kB / 0.8463 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/1.126, allocations: 402.2 kB / 0.8467 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.127, allocations: 274 kB / 0.847 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/1.127, allocations: 168.4 kB / 0.8471 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.127, allocations: 393.4 kB / 0.8475 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/1.128, allocations: 275.2 kB / 0.8478 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/1.128, allocations: 371.8 kB / 0.8481 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/1.13, allocations: 0.6293 MB / 0.8487 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.13, allocations: 0 / 0.8487 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002211/1.132, allocations: 0.8761 MB / 0.8496 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/1.132, allocations: 5.688 kB / 0.8496 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.132, allocations: 0 / 0.8496 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/1.133, allocations: 82.16 kB / 0.8497 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/1.133, allocations: 174.5 kB / 0.8498 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/1.136, allocations: 1.513 MB / 0.8513 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000965/1.137, allocations: 102.4 kB / 0.8514 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/1.137, allocations: 38.72 kB / 0.8515 GB, free: 6.68 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0006706/1.137, allocations: 273.3 kB / 0.8517 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/1.138, allocations: 87.62 kB / 0.8518 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/1.14, allocations: 1.131 MB / 0.8529 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.14, allocations: 17.84 kB / 0.8529 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.14, allocations: 0 / 0.8529 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.14, allocations: 7.969 kB / 0.8529 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/1.144, allocations: 2.024 MB / 0.8549 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.144, allocations: 0 / 0.8549 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/1.145, allocations: 158.7 kB / 0.8551 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005343/1.145, allocations: 82.16 kB / 0.8551 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/1.145, allocations: 30.69 kB / 0.8552 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.147, allocations: 1.55 MB / 0.8567 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.147, allocations: 2.625 kB / 0.8567 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/1.15, allocations: 1.037 MB / 0.8577 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/1.15, allocations: 280.2 kB / 0.858 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.15, allocations: 20.88 kB / 0.858 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/1.151, allocations: 74.98 kB / 0.858 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/1.151, allocations: 79.98 kB / 0.8581 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-05/1.151, allocations: 36.81 kB / 0.8582 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007542/1.152, allocations: 463.6 kB / 0.8586 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.152, allocations: 0 / 0.8586 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001225/1.153, allocations: 328.2 kB / 0.8589 GB, free: 1.566 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001716/1.155, allocations: 0.6019 MB / 0.8595 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001973/1.157, allocations: 0.8574 MB / 0.8603 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.157, allocations: 0 / 0.8603 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.158, allocations: 0.5419 MB / 0.8609 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.16, allocations: 267.4 kB / 0.8611 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/1.165, allocations: 2.273 MB / 0.8633 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009131/1.166, allocations: 1.03 MB / 0.8643 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/1.167, allocations: 127.4 kB / 0.8645 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of SimCode: time 1.493e-06/1.167, allocations: 0 / 0.8645 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of Templates: time 0.03793/1.204, allocations: 18.79 MB / 0.8828 GB, free: 15.41 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile clang++ -std=c++14 NOTFOUND -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o] Error 1