Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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/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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007434/0.0007435, allocations: 99.83 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.0008656/0.0008656, allocations: 174.9 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.242/1.242, allocations: 223.2 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.8795/0.8795, allocations: 135.3 MB / 427 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 12.5 kB / 0.5076 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 82.31 MB / 0.588 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004311/0.1582, allocations: 3.526 MB / 0.5914 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3896/0.5479, allocations: 136.7 MB / 0.7249 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.5483, allocations: 13.97 kB / 0.7249 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.5487, allocations: 125.9 kB / 0.725 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.5497, allocations: 389.6 kB / 0.7254 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.5512, allocations: 0.6124 MB / 0.726 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000989/0.5522, allocations: 1.021 MB / 0.727 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.5529, allocations: 468.2 kB / 0.7274 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.5533, allocations: 291.2 kB / 0.7277 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.5537, allocations: 319.5 kB / 0.728 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.5537, allocations: 21.34 kB / 0.728 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.5544, allocations: 333.8 kB / 0.7284 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.5546, allocations: 164.4 kB / 0.7285 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.5547, allocations: 179.1 kB / 0.7287 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.5558, allocations: 1.063 MB / 0.7297 GB, free: 5.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5558, allocations: 0 / 0.7297 GB, free: 5.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5558, allocations: 0 / 0.7297 GB, free: 5.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.5558, allocations: 0 / 0.7297 GB, free: 5.586 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00171/0.5575, allocations: 1.133 MB / 0.7308 GB, free: 4.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.5576, allocations: 9.281 kB / 0.7308 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.5583, allocations: 188.2 kB / 0.731 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008853/0.5592, allocations: 0.6762 MB / 0.7317 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.5593, allocations: 62.38 kB / 0.7317 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.5594, allocations: 76.92 kB / 0.7318 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5607, allocations: 0.8646 MB / 0.7327 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5608, allocations: 0 / 0.7327 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.5608, allocations: 34.89 kB / 0.7327 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.5609, allocations: 23.59 kB / 0.7327 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.5624, allocations: 1.069 MB / 0.7338 GB, free: 3.547 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.5655, allocations: 2.401 MB / 0.7361 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.5667, allocations: 0.7955 MB / 0.7369 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.5671, allocations: 275.5 kB / 0.7371 GB, free: 1.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.834e-05/0.5672, allocations: 34.36 kB / 0.7372 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006401/0.5679, allocations: 425.1 kB / 0.7376 GB, free: 1.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 1.884e-06/0.5679, allocations: 0 / 0.7376 GB, free: 1.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.002336/0.5702, allocations: 1.085 MB / 0.7386 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.5703, allocations: 190.5 kB / 0.7388 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.5709, allocations: 0.5864 MB / 0.7394 GB, free: 268 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.571, allocations: 42.42 kB / 0.7394 GB, free: 224 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.5712, allocations: 367.6 kB / 0.7398 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5714, allocations: 248.5 kB / 0.74 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.5714, allocations: 8 kB / 0.74 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5716, allocations: 380.6 kB / 0.7404 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.572, allocations: 238.1 kB / 0.7406 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.5724, allocations: 338.4 kB / 0.741 GB, free: 15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.5729, allocations: 273.1 kB / 0.7412 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5729, allocations: 7.031 kB / 0.7412 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001441/0.5743, allocations: 0.7739 MB / 0.742 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5744, allocations: 6.125 kB / 0.742 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5744, allocations: 0 / 0.742 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.5749, allocations: 83.56 kB / 0.7421 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.5754, allocations: 146.5 kB / 0.7422 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.5771, allocations: 1.513 MB / 0.7437 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.5776, allocations: 82.52 kB / 0.7438 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.5777, allocations: 35.59 kB / 0.7438 GB, free: 12.82 MB / 0.5606 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 (83): * Single equations (assignments): 82 * 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.0003333/0.578, allocations: 261.6 kB / 0.744 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5781, allocations: 75.06 kB / 0.7441 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.5801, allocations: 1.01 MB / 0.7451 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.5802, allocations: 12 kB / 0.7451 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.5802, allocations: 0 / 0.7451 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5802, allocations: 3.984 kB / 0.7451 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.5828, allocations: 1.858 MB / 0.7469 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.5828, allocations: 0 / 0.7469 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.5833, allocations: 147.8 kB / 0.7471 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004301/0.5838, allocations: 84.77 kB / 0.7471 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.5838, allocations: 27.98 kB / 0.7472 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.5854, allocations: 1.544 MB / 0.7487 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5854, allocations: 0 / 0.7487 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.5869, allocations: 0.9141 MB / 0.7496 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.5872, allocations: 267.7 kB / 0.7498 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.5873, allocations: 19.98 kB / 0.7498 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.5878, allocations: 72.02 kB / 0.7499 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5879, allocations: 60.91 kB / 0.75 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.588, allocations: 31.98 kB / 0.75 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004456/0.5884, allocations: 419 kB / 0.7504 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5884, allocations: 0 / 0.7504 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007983/0.5893, allocations: 295.2 kB / 0.7507 GB, free: 5.496 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 (86): * Single equations (assignments): 83 * 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.001147/0.5904, allocations: 0.6061 MB / 0.7513 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.5917, allocations: 0.7505 MB / 0.752 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5917, allocations: 4 kB / 0.752 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007305/0.5924, allocations: 496.7 kB / 0.7525 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5934, allocations: 251.1 kB / 0.7527 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.5967, allocations: 2.083 MB / 0.7548 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.5972, allocations: 1.007 MB / 0.7557 GB, free: 472 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.5974, allocations: 107.4 kB / 0.7558 GB, free: 368 kB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5974, allocations: 4 kB / 0.7559 GB, free: 364 kB / 0.5606 GB Notification: Performance of Templates: time 0.01859/0.616, allocations: 16.95 MB / 0.7724 GB, free: 15.45 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngleCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o] Error 1