Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 102.4 kB / 16.41 MB, free: 6.441 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.001246/0.001246, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7433/0.7433, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.27 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 80.93 MB / 0.6653 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005729/0.1662, allocations: 4.204 MB / 0.6694 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5642/0.7304, allocations: 150.6 MB / 0.8164 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007713/0.7313, allocations: 20.59 kB / 0.8165 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.7318, allocations: 164.5 kB / 0.8166 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.7333, allocations: 487.5 kB / 0.8171 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.7351, allocations: 0.8285 MB / 0.8179 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.7362, allocations: 1.225 MB / 0.8191 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007484/0.7369, allocations: 0.6332 MB / 0.8197 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.7374, allocations: 456.4 kB / 0.8201 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.7379, allocations: 468.5 kB / 0.8206 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.738, allocations: 106 kB / 0.8207 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007773/0.7388, allocations: 499.4 kB / 0.8212 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.739, allocations: 277.1 kB / 0.8214 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.7394, allocations: 0.5125 MB / 0.8219 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.741, allocations: 1.533 MB / 0.8234 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.741, allocations: 0 / 0.8234 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.741, allocations: 7.938 kB / 0.8234 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.741, allocations: 0 / 0.8234 GB, free: 5.25 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002092/0.7431, allocations: 1.356 MB / 0.8248 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.7432, allocations: 10.67 kB / 0.8248 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.744, allocations: 188.4 kB / 0.825 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.745, allocations: 0.7315 MB / 0.8257 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.7451, allocations: 62.55 kB / 0.8257 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-05/0.7452, allocations: 80.75 kB / 0.8258 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.7465, allocations: 0.9005 MB / 0.8267 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.7466, allocations: 0 / 0.8267 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/0.7467, allocations: 38.38 kB / 0.8267 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.7467, allocations: 19.56 kB / 0.8267 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.7482, allocations: 1.094 MB / 0.8278 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.7519, allocations: 2.507 MB / 0.8303 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.7536, allocations: 0.8672 MB / 0.8311 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.7541, allocations: 288.6 kB / 0.8314 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.247e-05/0.7542, allocations: 31.38 kB / 0.8314 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007089/0.7549, allocations: 450.7 kB / 0.8318 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.184e-06/0.7549, allocations: 4 kB / 0.8318 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.002853/0.7578, allocations: 1.112 MB / 0.8329 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.7579, allocations: 196 kB / 0.8331 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/0.7586, allocations: 0.5971 MB / 0.8337 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.7587, allocations: 38.73 kB / 0.8337 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.759, allocations: 381.3 kB / 0.8341 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.7592, allocations: 255 kB / 0.8343 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.7594, allocations: 157.7 kB / 0.8345 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.7596, allocations: 389 kB / 0.8349 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.76, allocations: 248.9 kB / 0.8351 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.7606, allocations: 347.2 kB / 0.8354 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/0.7615, allocations: 0.5797 MB / 0.836 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.7615, allocations: 2.406 kB / 0.836 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001758/0.7633, allocations: 0.8131 MB / 0.8368 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7633, allocations: 2.75 kB / 0.8368 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7633, allocations: 2.219 kB / 0.8368 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.7639, allocations: 83.39 kB / 0.8369 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.7646, allocations: 151.8 kB / 0.837 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.7668, allocations: 1.64 MB / 0.8386 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.7674, allocations: 83.77 kB / 0.8387 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.7675, allocations: 38.31 kB / 0.8387 GB, free: 10.37 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003958/0.7679, allocations: 256.6 kB / 0.839 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.768, allocations: 77.09 kB / 0.8391 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.7702, allocations: 1.057 MB / 0.8401 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.7702, allocations: 7.469 kB / 0.8401 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7702, allocations: 4 kB / 0.8401 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.7703, allocations: 14.31 kB / 0.8401 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.7732, allocations: 1.93 MB / 0.842 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7732, allocations: 0 / 0.842 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.7738, allocations: 160.4 kB / 0.8421 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/0.7743, allocations: 68.05 kB / 0.8422 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.7743, allocations: 30.06 kB / 0.8422 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.7761, allocations: 1.653 MB / 0.8439 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7762, allocations: 0 / 0.8439 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.7779, allocations: 0.9601 MB / 0.8448 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.7783, allocations: 263.4 kB / 0.845 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.7784, allocations: 17.06 kB / 0.8451 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/0.7789, allocations: 57.11 kB / 0.8451 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7791, allocations: 62.47 kB / 0.8452 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.7791, allocations: 42.73 kB / 0.8452 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004993/0.7796, allocations: 434.8 kB / 0.8456 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7797, allocations: 0 / 0.8456 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008167/0.7805, allocations: 305.1 kB / 0.8459 GB, free: 5.32 MB / 0.6075 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001279/0.7818, allocations: 0.6203 MB / 0.8465 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.7833, allocations: 0.796 MB / 0.8473 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7833, allocations: 4 kB / 0.8473 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008362/0.7842, allocations: 0.5159 MB / 0.8478 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.7852, allocations: 277.8 kB / 0.8481 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.7888, allocations: 1.738 MB / 0.8498 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.7893, allocations: 1.012 MB / 0.8508 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.7896, allocations: 123.3 kB / 0.8509 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.7896, allocations: 0 / 0.8509 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of Templates: time 0.02151/0.8111, allocations: 17.88 MB / 0.8683 GB, free: 14.64 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile clang++ -std=c++17 -fopenmp=libomp -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/IDEAS 3.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/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuthCalcHelperMain.o] Error 1