Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007407/0.0007407, allocations: 103 kB / 15.71 MB, free: 460 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.0008507/0.0008508, allocations: 174.4 kB / 16.58 MB, free: 6.402 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.238/1.238, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8802/0.8802, allocations: 135.3 MB / 427 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 8 kB / 0.5076 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 82.31 MB / 0.588 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004079/0.158, allocations: 3.549 MB / 0.5914 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3978/0.5559, allocations: 136.7 MB / 0.7249 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.5563, allocations: 14.12 kB / 0.7249 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.5567, allocations: 130.3 kB / 0.7251 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009812/0.5577, allocations: 387.3 kB / 0.7254 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.5591, allocations: 0.6111 MB / 0.726 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009632/0.5601, allocations: 1.021 MB / 0.727 GB, free: 6.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006573/0.5607, allocations: 467.6 kB / 0.7275 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.5611, allocations: 300.8 kB / 0.7278 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.5615, allocations: 318.9 kB / 0.7281 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.5616, allocations: 20.97 kB / 0.7281 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.5622, allocations: 338.2 kB / 0.7284 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.5624, allocations: 165 kB / 0.7286 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.5625, allocations: 178.3 kB / 0.7287 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.5636, allocations: 1.065 MB / 0.7298 GB, free: 5.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5636, allocations: 0.5625 kB / 0.7298 GB, free: 5.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5636, allocations: 0 / 0.7298 GB, free: 5.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.5636, allocations: 7.938 kB / 0.7298 GB, free: 5.578 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001694/0.5653, allocations: 1.132 MB / 0.7309 GB, free: 4.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.5654, allocations: 9.156 kB / 0.7309 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/0.5661, allocations: 188.2 kB / 0.7311 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000869/0.567, allocations: 0.6819 MB / 0.7317 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.5671, allocations: 62.59 kB / 0.7318 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.5672, allocations: 77.52 kB / 0.7319 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.5685, allocations: 0.867 MB / 0.7327 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.5685, allocations: 10.84 kB / 0.7327 GB, free: 3.805 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.5686, allocations: 40.22 kB / 0.7328 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.5686, allocations: 19.25 kB / 0.7328 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.5702, allocations: 1.069 MB / 0.7338 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.5736, allocations: 2.402 MB / 0.7362 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.5747, allocations: 0.7979 MB / 0.7369 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.5752, allocations: 283.6 kB / 0.7372 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.5753, allocations: 34.61 kB / 0.7373 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006748/0.576, allocations: 434.8 kB / 0.7377 GB, free: 1.402 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 1.883e-06/0.576, allocations: 0 / 0.7377 GB, free: 1.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002318/0.5783, allocations: 1.089 MB / 0.7387 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.5784, allocations: 189.1 kB / 0.7389 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.579, allocations: 0.5856 MB / 0.7395 GB, free: 240 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.5791, allocations: 40.55 kB / 0.7395 GB, free: 196 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.5793, allocations: 378.9 kB / 0.7399 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.5795, allocations: 237.6 kB / 0.7401 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.5795, allocations: 17.19 kB / 0.7401 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5797, allocations: 373.6 kB / 0.7405 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.5801, allocations: 243.1 kB / 0.7407 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.5805, allocations: 331.3 kB / 0.741 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.581, allocations: 287.3 kB / 0.7413 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.581, allocations: 0 / 0.7413 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001423/0.5824, allocations: 0.7954 MB / 0.7421 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5824, allocations: 5.344 kB / 0.7421 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5824, allocations: 3.031 kB / 0.7421 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004845/0.5829, allocations: 86.48 kB / 0.7422 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.5835, allocations: 152.8 kB / 0.7423 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.5852, allocations: 1.518 MB / 0.7438 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.5858, allocations: 88.61 kB / 0.7439 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.5858, allocations: 31.97 kB / 0.7439 GB, free: 12.72 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003249/0.5862, allocations: 261.6 kB / 0.7442 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.5863, allocations: 75.06 kB / 0.7442 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.5883, allocations: 1.025 MB / 0.7452 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.5883, allocations: 8 kB / 0.7452 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.5883, allocations: 0 / 0.7452 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.5883, allocations: 3.984 kB / 0.7452 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.591, allocations: 1.869 MB / 0.7471 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.591, allocations: 0 / 0.7471 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.5915, allocations: 147.8 kB / 0.7472 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/0.5919, allocations: 84.77 kB / 0.7473 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.592, allocations: 23.98 kB / 0.7473 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.5935, allocations: 1.54 MB / 0.7488 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5935, allocations: 0 / 0.7488 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.5951, allocations: 0.9218 MB / 0.7497 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.5954, allocations: 271.8 kB / 0.75 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-05/0.5955, allocations: 20.06 kB / 0.75 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.596, allocations: 70.03 kB / 0.7501 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5961, allocations: 60.91 kB / 0.7501 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.5961, allocations: 27.98 kB / 0.7502 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004402/0.5966, allocations: 431 kB / 0.7506 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5966, allocations: 0 / 0.7506 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007777/0.5974, allocations: 299.2 kB / 0.7508 GB, free: 5.367 MB / 0.5606 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 (87): * Single equations (assignments): 84 * 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.001112/0.5985, allocations: 0.5862 MB / 0.7514 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.5998, allocations: 0.7643 MB / 0.7522 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5998, allocations: 0 / 0.7522 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.6005, allocations: 0.489 MB / 0.7526 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.6015, allocations: 244.8 kB / 0.7529 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.6047, allocations: 2.109 MB / 0.7549 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.6053, allocations: 1.003 MB / 0.7559 GB, free: 312 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.6055, allocations: 107.4 kB / 0.756 GB, free: 208 kB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.6055, allocations: 0 / 0.756 GB, free: 208 kB / 0.5606 GB Notification: Performance of Templates: time 0.01942/0.6249, allocations: 17.01 MB / 0.7726 GB, free: 15.23 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1