Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.59 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.001673/0.001673, allocations: 175.4 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.433/1.433, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7985/0.7985, allocations: 132.3 MB / 424 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004363, allocations: 11.98 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5409, allocations: 81.57 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005513/0.5465, allocations: 4.236 MB / 0.5878 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1796/0.7261, allocations: 137.1 MB / 0.7217 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.7277, allocations: 23.88 kB / 0.7217 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007418/0.7285, allocations: 142.8 kB / 0.7218 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.731, allocations: 476.5 kB / 0.7223 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.7335, allocations: 0.6765 MB / 0.723 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001903/0.7354, allocations: 1.37 MB / 0.7243 GB, free: 208 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.7366, allocations: 0.8239 MB / 0.7251 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009634/0.7375, allocations: 449.7 kB / 0.7255 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006229/0.7382, allocations: 481.3 kB / 0.726 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.88e-05/0.7383, allocations: 32 kB / 0.726 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/0.7392, allocations: 335.6 kB / 0.7263 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.7395, allocations: 234.8 kB / 0.7266 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.7398, allocations: 256.8 kB / 0.7268 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.7415, allocations: 1.57 MB / 0.7283 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7416, allocations: 3.938 kB / 0.7283 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7416, allocations: 0 / 0.7283 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.7416, allocations: 4 kB / 0.7284 GB, free: 12.02 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002846/0.7444, allocations: 1.472 MB / 0.7298 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.7445, allocations: 12.02 kB / 0.7298 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009464/0.7455, allocations: 249.9 kB / 0.73 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.7468, allocations: 0.8484 MB / 0.7309 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.7469, allocations: 110.9 kB / 0.731 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.7471, allocations: 140 kB / 0.7311 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.7496, allocations: 1.416 MB / 0.7325 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.7496, allocations: 4 kB / 0.7325 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.7497, allocations: 56 kB / 0.7325 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.7498, allocations: 39.95 kB / 0.7326 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.7523, allocations: 1.525 MB / 0.7341 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006072/0.7584, allocations: 3.783 MB / 0.7378 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.7602, allocations: 0.9552 MB / 0.7387 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/0.761, allocations: 399.7 kB / 0.7391 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.7611, allocations: 53.06 kB / 0.7391 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.7623, allocations: 0.5825 MB / 0.7397 GB, free: 132 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/0.7623, allocations: 0 / 0.7397 GB, free: 132 kB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.003766/0.7661, allocations: 1.477 MB / 0.7411 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.7662, allocations: 196.9 kB / 0.7413 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.7674, allocations: 0.7551 MB / 0.7421 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.7675, allocations: 41.7 kB / 0.7421 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/0.7681, allocations: 0.5582 MB / 0.7427 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.7685, allocations: 354.9 kB / 0.743 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.7685, allocations: 20 kB / 0.743 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002792/0.7688, allocations: 345.9 kB / 0.7433 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.7695, allocations: 366.4 kB / 0.7437 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007748/0.7703, allocations: 470.2 kB / 0.7441 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/0.7712, allocations: 422.9 kB / 0.7445 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.7712, allocations: 0 / 0.7445 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002387/0.7736, allocations: 1.114 MB / 0.7456 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.7736, allocations: 4 kB / 0.7456 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.7736, allocations: 4 kB / 0.7456 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.7742, allocations: 88.81 kB / 0.7457 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/0.7752, allocations: 231.7 kB / 0.7459 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.7775, allocations: 1.524 MB / 0.7474 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7785, allocations: 127 kB / 0.7476 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/0.7786, allocations: 43.97 kB / 0.7476 GB, free: 7.77 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 (125): * Single equations (assignments): 124 * 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.0008174/0.7794, allocations: 323 kB / 0.7479 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.7796, allocations: 98.78 kB / 0.748 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.7828, allocations: 1.407 MB / 0.7494 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.7829, allocations: 15.95 kB / 0.7494 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7829, allocations: 0 / 0.7494 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.7829, allocations: 7.984 kB / 0.7494 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.7872, allocations: 2.567 MB / 0.7519 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.7872, allocations: 0 / 0.7519 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/0.788, allocations: 195.7 kB / 0.7521 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.7885, allocations: 84.78 kB / 0.7522 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.7885, allocations: 23.98 kB / 0.7522 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.7903, allocations: 1.563 MB / 0.7537 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7904, allocations: 0 / 0.7537 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.7925, allocations: 1.164 MB / 0.7549 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/0.793, allocations: 355.2 kB / 0.7552 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.7931, allocations: 27.89 kB / 0.7552 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006272/0.7938, allocations: 71.95 kB / 0.7553 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.7939, allocations: 80.81 kB / 0.7554 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/0.794, allocations: 43.92 kB / 0.7554 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007612/0.7948, allocations: 0.5693 MB / 0.756 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7948, allocations: 0 / 0.756 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001111/0.7959, allocations: 398.8 kB / 0.7563 GB, free: 14.55 MB / 0.5919 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 (115): * Single equations (assignments): 112 * 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.001323/0.7973, allocations: 0.6003 MB / 0.7569 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.7992, allocations: 1.03 MB / 0.7579 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7992, allocations: 0 / 0.7579 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009724/0.8001, allocations: 0.6174 MB / 0.7585 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.8013, allocations: 272.4 kB / 0.7588 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/0.8062, allocations: 2.981 MB / 0.7617 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.8069, allocations: 1.155 MB / 0.7628 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.8074, allocations: 159.3 kB / 0.763 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.8074, allocations: 0 / 0.763 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of Templates: time 0.03378/0.8412, allocations: 23.6 MB / 0.786 GB, free: 344 kB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o] Error 1