Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007956/0.0007957, allocations: 99.12 kB / 15.71 MB, free: 440 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.0008964/0.0008965, allocations: 174 kB / 16.58 MB, free: 6.418 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.374/1.374, allocations: 223.2 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7749/0.7749, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 12 kB / 0.504 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4723, allocations: 81.58 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00476/0.4771, allocations: 3.563 MB / 0.5872 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1821/0.6592, allocations: 136.7 MB / 0.7206 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.6601, allocations: 19.88 kB / 0.7207 GB, free: 3.918 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.6606, allocations: 123 kB / 0.7208 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.6618, allocations: 389.2 kB / 0.7211 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.6635, allocations: 0.6133 MB / 0.7217 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.6646, allocations: 1.02 MB / 0.7227 GB, free: 1.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/0.6653, allocations: 0.5381 MB / 0.7233 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.6658, allocations: 298.6 kB / 0.7236 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.6662, allocations: 322.2 kB / 0.7239 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.6663, allocations: 28 kB / 0.7239 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007219/0.667, allocations: 327.6 kB / 0.7242 GB, free: 296 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.6672, allocations: 175.2 kB / 0.7244 GB, free: 120 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.6674, allocations: 185.2 kB / 0.7245 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.6685, allocations: 1.122 MB / 0.7256 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.6685, allocations: 0 / 0.7256 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6685, allocations: 0 / 0.7256 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.6685, allocations: 0 / 0.7256 GB, free: 14.8 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001887/0.6704, allocations: 1.182 MB / 0.7268 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.6705, allocations: 8.031 kB / 0.7268 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.6715, allocations: 218.4 kB / 0.727 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.6725, allocations: 0.6992 MB / 0.7277 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.068e-05/0.6726, allocations: 66 kB / 0.7278 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.6727, allocations: 84 kB / 0.7278 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.6743, allocations: 0.941 MB / 0.7288 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.6744, allocations: 0 / 0.7288 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.6744, allocations: 40 kB / 0.7288 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.6745, allocations: 24 kB / 0.7288 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.6762, allocations: 1.124 MB / 0.7299 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.6799, allocations: 2.504 MB / 0.7324 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.6818, allocations: 0.8842 MB / 0.7332 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.6823, allocations: 286.7 kB / 0.7335 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-05/0.6824, allocations: 32.69 kB / 0.7335 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007709/0.6832, allocations: 447.1 kB / 0.734 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/0.6832, allocations: 3.938 kB / 0.734 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002644/0.6859, allocations: 1.1 MB / 0.735 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.686, allocations: 188.6 kB / 0.7352 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007105/0.6867, allocations: 0.6055 MB / 0.7358 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.6868, allocations: 41.7 kB / 0.7358 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.6871, allocations: 392.2 kB / 0.7362 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.6873, allocations: 244.4 kB / 0.7364 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.6874, allocations: 16 kB / 0.7365 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.6875, allocations: 378.8 kB / 0.7368 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.688, allocations: 245.9 kB / 0.7371 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.6886, allocations: 339.1 kB / 0.7374 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.6891, allocations: 286.8 kB / 0.7377 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6891, allocations: 4 kB / 0.7377 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001634/0.6908, allocations: 0.7903 MB / 0.7384 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6908, allocations: 8 kB / 0.7384 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6908, allocations: 3.984 kB / 0.7384 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.6914, allocations: 84.86 kB / 0.7385 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.692, allocations: 151.8 kB / 0.7387 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.6942, allocations: 1.512 MB / 0.7401 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.6948, allocations: 96.48 kB / 0.7402 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.6949, allocations: 35.97 kB / 0.7403 GB, free: 15.31 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 (84): * Single equations (assignments): 83 * 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.0004413/0.6953, allocations: 258.5 kB / 0.7405 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6955, allocations: 75.06 kB / 0.7406 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.6976, allocations: 1.013 MB / 0.7416 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6977, allocations: 8 kB / 0.7416 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6977, allocations: 3.953 kB / 0.7416 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.6977, allocations: 7.984 kB / 0.7416 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.7007, allocations: 1.904 MB / 0.7435 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7008, allocations: 0 / 0.7435 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.7013, allocations: 147.8 kB / 0.7436 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.7018, allocations: 88.7 kB / 0.7437 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.7019, allocations: 23.98 kB / 0.7437 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.7037, allocations: 1.552 MB / 0.7452 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7037, allocations: 0 / 0.7452 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.7055, allocations: 0.918 MB / 0.7461 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.7059, allocations: 267.8 kB / 0.7464 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.706, allocations: 20 kB / 0.7464 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.7066, allocations: 67.94 kB / 0.7465 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.7067, allocations: 68.8 kB / 0.7465 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/0.7068, allocations: 35.92 kB / 0.7466 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005814/0.7074, allocations: 431 kB / 0.747 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7074, allocations: 0 / 0.747 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009549/0.7084, allocations: 307.1 kB / 0.7473 GB, free: 7.891 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 (85): * Single equations (assignments): 82 * 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.001348/0.7097, allocations: 0.5738 MB / 0.7478 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.7114, allocations: 0.7726 MB / 0.7486 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7114, allocations: 4.188 kB / 0.7486 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007982/0.7122, allocations: 0.4885 MB / 0.7491 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.7133, allocations: 258.2 kB / 0.7493 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.7176, allocations: 2.173 MB / 0.7514 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.7182, allocations: 1.015 MB / 0.7524 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.7186, allocations: 107.4 kB / 0.7525 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.7186, allocations: 4 kB / 0.7525 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of Templates: time 0.02463/0.7432, allocations: 17.65 MB / 0.7698 GB, free: 1.066 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMassCalcHelperMain.o] Error 1