Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01134/0.01134, allocations: 100.1 kB / 15.87 MB, free: 5.863 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.001987/0.001987, allocations: 189.2 kB / 16.79 MB, free: 5.805 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.51/1.51, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002442/0.002441, allocations: 282.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.015/1.015, allocations: 169.2 MB / 0.4984 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 89.83 kB / 0.5951 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2572, allocations: 86.99 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007731/0.265, allocations: 4.282 MB / 0.6843 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7484/1.013, allocations: 148.2 MB / 0.829 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/1.015, allocations: 14 kB / 0.829 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/1.016, allocations: 143 kB / 0.8292 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002851/1.019, allocations: 422.1 kB / 0.8296 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/1.022, allocations: 0.7183 MB / 0.8303 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002496/1.025, allocations: 1.2 MB / 0.8314 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/1.026, allocations: 0.5906 MB / 0.832 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008259/1.027, allocations: 397.4 kB / 0.8324 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/1.027, allocations: 453.5 kB / 0.8328 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/1.028, allocations: 54.16 kB / 0.8329 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/1.029, allocations: 400.8 kB / 0.8333 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/1.029, allocations: 233.6 kB / 0.8335 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005732/1.03, allocations: 483.1 kB / 0.8339 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/1.031, allocations: 1.168 MB / 0.8351 GB, free: 52 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.032, allocations: 0 / 0.8351 GB, free: 52 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/1.032, allocations: 1.094 kB / 0.8351 GB, free: 52 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.647e-05/1.032, allocations: 0 / 0.8351 GB, free: 52 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.0033/1.035, allocations: 1.395 MB / 0.8364 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.035, allocations: 8.906 kB / 0.8364 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/1.036, allocations: 184.5 kB / 0.8366 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.037, allocations: 0.7342 MB / 0.8373 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/1.037, allocations: 66.58 kB / 0.8374 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/1.038, allocations: 76.56 kB / 0.8375 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/1.04, allocations: 0.9085 MB / 0.8384 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.04, allocations: 3.938 kB / 0.8384 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/1.04, allocations: 40.88 kB / 0.8384 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/1.04, allocations: 19.5 kB / 0.8384 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/1.042, allocations: 1.1 MB / 0.8395 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/1.046, allocations: 2.462 MB / 0.8419 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/1.047, allocations: 0.8637 MB / 0.8427 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/1.048, allocations: 298.3 kB / 0.843 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.231e-05/1.048, allocations: 29.52 kB / 0.8431 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009416/1.049, allocations: 493 kB / 0.8435 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/1.049, allocations: 0 / 0.8435 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003118/1.052, allocations: 1.178 MB / 0.8447 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.052, allocations: 192.8 kB / 0.8449 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008146/1.053, allocations: 0.6156 MB / 0.8455 GB, free: 11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/1.053, allocations: 42.48 kB / 0.8455 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/1.053, allocations: 391.8 kB / 0.8459 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/1.054, allocations: 261.8 kB / 0.8461 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/1.054, allocations: 158.2 kB / 0.8463 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.054, allocations: 388.9 kB / 0.8467 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/1.054, allocations: 260.4 kB / 0.8469 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/1.055, allocations: 353.5 kB / 0.8472 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/1.056, allocations: 0.5984 MB / 0.8478 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.056, allocations: 0 / 0.8478 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001885/1.058, allocations: 0.8385 MB / 0.8486 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.058, allocations: 9.312 kB / 0.8487 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.058, allocations: 2.5 kB / 0.8487 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/1.059, allocations: 79.38 kB / 0.8487 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/1.059, allocations: 158.1 kB / 0.8489 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/1.061, allocations: 1.523 MB / 0.8504 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/1.062, allocations: 89.73 kB / 0.8505 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/1.062, allocations: 43.44 kB / 0.8505 GB, free: 7.188 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.0004604/1.063, allocations: 262 kB / 0.8507 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/1.063, allocations: 79.59 kB / 0.8508 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/1.065, allocations: 1.05 MB / 0.8518 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.065, allocations: 10.41 kB / 0.8519 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.065, allocations: 0.875 kB / 0.8519 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.065, allocations: 3.984 kB / 0.8519 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/1.069, allocations: 1.907 MB / 0.8537 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.069, allocations: 0 / 0.8537 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/1.069, allocations: 143 kB / 0.8539 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005187/1.07, allocations: 83.48 kB / 0.8539 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.624e-05/1.07, allocations: 29.42 kB / 0.854 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/1.072, allocations: 1.546 MB / 0.8555 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.072, allocations: 2.844 kB / 0.8555 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/1.074, allocations: 0.9773 MB / 0.8564 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/1.074, allocations: 267.5 kB / 0.8567 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/1.074, allocations: 25.27 kB / 0.8567 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/1.075, allocations: 65.42 kB / 0.8568 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/1.075, allocations: 69.36 kB / 0.8568 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.689e-05/1.075, allocations: 34.42 kB / 0.8569 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006084/1.076, allocations: 451.5 kB / 0.8573 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.076, allocations: 0 / 0.8573 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001086/1.077, allocations: 311.9 kB / 0.8576 GB, free: 2.262 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.001599/1.078, allocations: 0.6142 MB / 0.8582 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.08, allocations: 0.8199 MB / 0.859 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.08, allocations: 0 / 0.859 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009115/1.081, allocations: 0.5039 MB / 0.8595 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/1.082, allocations: 265.1 kB / 0.8597 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/1.086, allocations: 2.165 MB / 0.8619 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/1.087, allocations: 1.016 MB / 0.8629 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/1.087, allocations: 120.8 kB / 0.863 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of SimCode: time 1.382e-06/1.087, allocations: 0 / 0.863 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Templates: time 0.02524/1.113, allocations: 18.07 MB / 0.8806 GB, free: 1.512 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.o] Error 1