Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 99.83 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.001749/0.00175, allocations: 177.6 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.569/1.569, 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/BuildSysPro 3.5.0-master/package.mo): time 1.169/1.169, allocations: 143.4 MB / 435.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003946, allocations: 12 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2186, allocations: 83.41 MB / 0.5981 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004788/0.2235, allocations: 3.474 MB / 0.6014 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6247/0.8482, allocations: 136.7 MB / 0.7349 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007881/0.8491, allocations: 15.44 kB / 0.7349 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.8496, allocations: 129.8 kB / 0.7351 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.8513, allocations: 383.8 kB / 0.7354 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.8536, allocations: 0.6068 MB / 0.736 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.8552, allocations: 1.004 MB / 0.737 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008785/0.8561, allocations: 473.6 kB / 0.7374 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.8567, allocations: 291.3 kB / 0.7377 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.8571, allocations: 306.7 kB / 0.738 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.8572, allocations: 20.59 kB / 0.738 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.8583, allocations: 331.2 kB / 0.7384 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.8585, allocations: 162.7 kB / 0.7385 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.8587, allocations: 173.5 kB / 0.7387 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.8601, allocations: 1.144 MB / 0.7398 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.8601, allocations: 0 / 0.7398 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8601, allocations: 4 kB / 0.7398 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.8602, allocations: 0 / 0.7398 GB, free: 9.258 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002006/0.8622, allocations: 1.127 MB / 0.7409 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8622, allocations: 8 kB / 0.7409 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008827/0.8631, allocations: 187.8 kB / 0.7411 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.8642, allocations: 0.6758 MB / 0.7417 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.8643, allocations: 68.11 kB / 0.7418 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.8644, allocations: 77.95 kB / 0.7419 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.866, allocations: 0.8522 MB / 0.7427 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.866, allocations: 5.375 kB / 0.7427 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.8661, allocations: 32.25 kB / 0.7427 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.8662, allocations: 19.25 kB / 0.7428 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.8679, allocations: 1.061 MB / 0.7438 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.8717, allocations: 2.413 MB / 0.7462 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.873, allocations: 0.8007 MB / 0.7469 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.8735, allocations: 277.4 kB / 0.7472 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.792e-05/0.8736, allocations: 32.58 kB / 0.7472 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007929/0.8744, allocations: 421.8 kB / 0.7476 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/0.8745, allocations: 0 / 0.7476 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002767/0.8772, allocations: 1.079 MB / 0.7487 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.8774, allocations: 192.4 kB / 0.7489 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.8782, allocations: 0.5783 MB / 0.7494 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.8783, allocations: 41.7 kB / 0.7495 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.8786, allocations: 364.3 kB / 0.7498 GB, free: 180 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.8788, allocations: 232.6 kB / 0.75 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.8789, allocations: 12 kB / 0.7501 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.8791, allocations: 378.8 kB / 0.7504 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.8795, allocations: 237.9 kB / 0.7506 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.8801, allocations: 326.8 kB / 0.751 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.8807, allocations: 279.1 kB / 0.7512 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.8807, allocations: 0 / 0.7512 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001652/0.8823, allocations: 0.7633 MB / 0.752 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.8824, allocations: 4.625 kB / 0.752 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.8824, allocations: 3.953 kB / 0.752 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/0.883, allocations: 88.81 kB / 0.7521 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.8836, allocations: 143.8 kB / 0.7522 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.8859, allocations: 1.53 MB / 0.7537 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.8866, allocations: 87.45 kB / 0.7538 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.8866, allocations: 28.95 kB / 0.7538 GB, free: 11.92 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 ($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 (81): * Single equations (assignments): 80 * 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.0006056/0.8873, allocations: 261.7 kB / 0.7541 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.8874, allocations: 79.05 kB / 0.7541 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.8895, allocations: 0.9751 MB / 0.7551 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.8896, allocations: 8 kB / 0.7551 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.8896, allocations: 0 / 0.7551 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8896, allocations: 7.984 kB / 0.7551 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.8926, allocations: 1.84 MB / 0.7569 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.8926, allocations: 0.875 kB / 0.7569 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.8931, allocations: 135.8 kB / 0.757 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.8936, allocations: 84.78 kB / 0.7571 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.8936, allocations: 23.94 kB / 0.7571 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.8954, allocations: 1.56 MB / 0.7587 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8954, allocations: 0 / 0.7587 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.8971, allocations: 0.9062 MB / 0.7595 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.8974, allocations: 263.8 kB / 0.7598 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/0.8975, allocations: 20 kB / 0.7598 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.898, allocations: 68.81 kB / 0.7599 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.8982, allocations: 56.86 kB / 0.7599 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/0.8982, allocations: 39.97 kB / 0.76 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005447/0.8988, allocations: 411.1 kB / 0.7604 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8988, allocations: 4 kB / 0.7604 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000949/0.8998, allocations: 283.3 kB / 0.7606 GB, free: 4.691 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 (81): * Single equations (assignments): 78 * 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.001354/0.9011, allocations: 0.5833 MB / 0.7612 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.9026, allocations: 0.7509 MB / 0.7619 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9026, allocations: 0 / 0.7619 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007691/0.9034, allocations: 488.4 kB / 0.7624 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.9046, allocations: 265.3 kB / 0.7627 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.9083, allocations: 2.054 MB / 0.7647 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.9089, allocations: 0.9877 MB / 0.7656 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.9092, allocations: 107.4 kB / 0.7657 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.9092, allocations: 0 / 0.7657 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.02414/0.9334, allocations: 16.99 MB / 0.7823 GB, free: 14.63 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o] Error 1