Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001545/0.001546, allocations: 100.1 kB / 15.88 MB, free: 12 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.001865/0.001865, allocations: 195.2 kB / 16.79 MB, free: 6.863 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.563/1.563, allocations: 222.9 MB / 240.5 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002328/0.002328, allocations: 275 kB / 290.9 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9819/0.9819, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 95.53 kB / 0.5951 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2328, allocations: 86.98 MB / 0.6801 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.008384/0.2413, allocations: 4.315 MB / 0.6843 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7755/1.017, allocations: 148.2 MB / 0.829 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/1.018, allocations: 15.69 kB / 0.8291 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/1.019, allocations: 136.7 kB / 0.8292 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/1.021, allocations: 431 kB / 0.8296 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/1.023, allocations: 0.7204 MB / 0.8303 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001881/1.025, allocations: 1.213 MB / 0.8315 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/1.026, allocations: 0.6081 MB / 0.8321 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008394/1.027, allocations: 402.1 kB / 0.8325 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006289/1.028, allocations: 464.1 kB / 0.8329 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/1.028, allocations: 56.44 kB / 0.833 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/1.029, allocations: 401.4 kB / 0.8333 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/1.03, allocations: 239.3 kB / 0.8336 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006438/1.03, allocations: 488.2 kB / 0.834 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/1.032, allocations: 1.196 MB / 0.8352 GB, free: 64 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/1.032, allocations: 1.438 kB / 0.8352 GB, free: 64 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/1.032, allocations: 0 / 0.8352 GB, free: 64 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.876e-05/1.032, allocations: 7.75 kB / 0.8352 GB, free: 60 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003342/1.036, allocations: 1.402 MB / 0.8366 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.62e-05/1.036, allocations: 9.75 kB / 0.8366 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/1.037, allocations: 188.8 kB / 0.8368 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/1.038, allocations: 0.7355 MB / 0.8375 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/1.038, allocations: 67.8 kB / 0.8376 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/1.038, allocations: 77.97 kB / 0.8376 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/1.04, allocations: 0.9186 MB / 0.8385 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.04, allocations: 3.719 kB / 0.8385 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/1.04, allocations: 35.62 kB / 0.8386 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/1.041, allocations: 19.59 kB / 0.8386 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/1.043, allocations: 1.113 MB / 0.8397 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/1.047, allocations: 2.527 MB / 0.8421 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/1.049, allocations: 0.8914 MB / 0.843 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/1.05, allocations: 302.8 kB / 0.8433 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.994e-05/1.05, allocations: 33.31 kB / 0.8433 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/1.051, allocations: 0.4885 MB / 0.8438 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.805e-06/1.051, allocations: 0 / 0.8438 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.00349/1.055, allocations: 1.19 MB / 0.845 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.055, allocations: 188.7 kB / 0.8451 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009534/1.056, allocations: 0.6304 MB / 0.8458 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/1.056, allocations: 42.8 kB / 0.8458 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/1.056, allocations: 390.2 kB / 0.8462 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/1.056, allocations: 264.6 kB / 0.8464 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/1.057, allocations: 158.4 kB / 0.8466 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.057, allocations: 389.6 kB / 0.8469 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/1.057, allocations: 266.3 kB / 0.8472 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/1.058, allocations: 371.1 kB / 0.8476 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.059, allocations: 0.5943 MB / 0.8481 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.059, allocations: 3.375 kB / 0.8481 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002022/1.061, allocations: 0.8516 MB / 0.849 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.061, allocations: 11 kB / 0.849 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.061, allocations: 2.812 kB / 0.849 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/1.062, allocations: 79.36 kB / 0.8491 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/1.063, allocations: 161.6 kB / 0.8492 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.065, allocations: 1.532 MB / 0.8507 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/1.066, allocations: 101.4 kB / 0.8508 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/1.066, allocations: 34.19 kB / 0.8508 GB, free: 6.953 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005892/1.067, allocations: 266.8 kB / 0.8511 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/1.067, allocations: 83.84 kB / 0.8512 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/1.069, allocations: 1.069 MB / 0.8522 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/1.069, allocations: 8.281 kB / 0.8522 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/1.069, allocations: 0 / 0.8522 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/1.069, allocations: 10.42 kB / 0.8522 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/1.073, allocations: 1.951 MB / 0.8541 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.073, allocations: 0 / 0.8541 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/1.073, allocations: 150.4 kB / 0.8543 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/1.074, allocations: 83.69 kB / 0.8544 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/1.074, allocations: 25.64 kB / 0.8544 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/1.076, allocations: 1.553 MB / 0.8559 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.076, allocations: 0 / 0.8559 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/1.078, allocations: 0.9965 MB / 0.8569 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/1.079, allocations: 275.5 kB / 0.8571 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/1.079, allocations: 16.31 kB / 0.8572 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/1.08, allocations: 62.97 kB / 0.8572 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.08, allocations: 73.52 kB / 0.8573 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/1.08, allocations: 42.69 kB / 0.8573 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000816/1.081, allocations: 454.2 kB / 0.8578 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.081, allocations: 0 / 0.8578 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001645/1.082, allocations: 299.9 kB / 0.858 GB, free: 1.949 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001983/1.084, allocations: 0.5994 MB / 0.8586 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002079/1.086, allocations: 0.8317 MB / 0.8594 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.086, allocations: 0 / 0.8594 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.088, allocations: 0.5128 MB / 0.8599 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.089, allocations: 261 kB / 0.8602 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/1.094, allocations: 2.198 MB / 0.8623 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008899/1.095, allocations: 1.019 MB / 0.8633 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/1.096, allocations: 111.2 kB / 0.8634 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of SimCode: time 1.784e-06/1.096, allocations: 3.938 kB / 0.8634 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.04005/1.136, allocations: 18.34 MB / 0.8814 GB, free: 0.7266 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o] Error 1