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.001701/0.001701, allocations: 106.5 kB / 16.41 MB, free: 6.516 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.001354/0.001354, allocations: 183 kB / 17.34 MB, free: 5.734 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.427/1.427, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.863/0.863, allocations: 135.2 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 65.05 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1882, allocations: 80.92 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007013/0.1952, allocations: 4.223 MB / 0.6695 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6379/0.8331, allocations: 151 MB / 0.8169 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.834, allocations: 16.56 kB / 0.8169 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.8346, allocations: 175.3 kB / 0.8171 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.8363, allocations: 485 kB / 0.8176 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.8383, allocations: 0.837 MB / 0.8184 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.8397, allocations: 1.228 MB / 0.8196 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007307/0.8404, allocations: 472.9 kB / 0.82 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006383/0.8411, allocations: 465.1 kB / 0.8205 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.8416, allocations: 466.4 kB / 0.8209 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.8417, allocations: 106.1 kB / 0.821 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.8427, allocations: 496.2 kB / 0.8215 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.843, allocations: 279.3 kB / 0.8218 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005182/0.8435, allocations: 0.5083 MB / 0.8223 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.8456, allocations: 1.553 MB / 0.8238 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8456, allocations: 4 kB / 0.8238 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8456, allocations: 0 / 0.8238 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.8457, allocations: 0 / 0.8238 GB, free: 4.84 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.002486/0.8481, allocations: 1.396 MB / 0.8251 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8482, allocations: 10.48 kB / 0.8252 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009269/0.8491, allocations: 184 kB / 0.8253 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.8503, allocations: 0.7424 MB / 0.8261 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.159e-05/0.8504, allocations: 62.94 kB / 0.8261 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/0.8505, allocations: 77.38 kB / 0.8262 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.8521, allocations: 0.8977 MB / 0.8271 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.8521, allocations: 2.781 kB / 0.8271 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.8522, allocations: 35.38 kB / 0.8271 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.8522, allocations: 24.31 kB / 0.8271 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.8539, allocations: 1.1 MB / 0.8282 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004216/0.8582, allocations: 2.497 MB / 0.8306 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.8601, allocations: 0.8268 MB / 0.8314 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.8606, allocations: 266.5 kB / 0.8317 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.177e-05/0.8607, allocations: 29.03 kB / 0.8317 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008336/0.8615, allocations: 455.3 kB / 0.8322 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.194e-06/0.8615, allocations: 0 / 0.8322 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.003024/0.8645, allocations: 1.121 MB / 0.8333 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.8647, allocations: 192.4 kB / 0.8334 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/0.8655, allocations: 0.6015 MB / 0.834 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.8656, allocations: 35.98 kB / 0.8341 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.8659, allocations: 387 kB / 0.8344 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.8662, allocations: 266.2 kB / 0.8347 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.8664, allocations: 162 kB / 0.8348 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.8667, allocations: 392.2 kB / 0.8352 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.8672, allocations: 246.6 kB / 0.8354 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.8678, allocations: 338 kB / 0.8358 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.8689, allocations: 0.584 MB / 0.8363 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8689, allocations: 0 / 0.8363 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001911/0.8708, allocations: 0.8148 MB / 0.8371 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.8708, allocations: 6.312 kB / 0.8371 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.8708, allocations: 0 / 0.8371 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.8714, allocations: 90.45 kB / 0.8372 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.872, allocations: 150.5 kB / 0.8374 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.8743, allocations: 1.641 MB / 0.839 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007292/0.875, allocations: 87.17 kB / 0.8391 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.8751, allocations: 34.84 kB / 0.8391 GB, free: 9.902 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.0004782/0.8756, allocations: 256.2 kB / 0.8393 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.8757, allocations: 79.2 kB / 0.8394 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.878, allocations: 1.054 MB / 0.8404 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.8781, allocations: 11.97 kB / 0.8405 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.8781, allocations: 0 / 0.8405 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.8781, allocations: 14.12 kB / 0.8405 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.8814, allocations: 1.924 MB / 0.8423 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.8814, allocations: 0 / 0.8423 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.882, allocations: 162.2 kB / 0.8425 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/0.8824, allocations: 72.12 kB / 0.8426 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.8824, allocations: 25.95 kB / 0.8426 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.8846, allocations: 1.665 MB / 0.8442 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8846, allocations: 0 / 0.8442 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.8867, allocations: 0.964 MB / 0.8452 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.8871, allocations: 264.6 kB / 0.8454 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.8872, allocations: 25.14 kB / 0.8454 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.8877, allocations: 53.72 kB / 0.8455 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.8879, allocations: 69.78 kB / 0.8456 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.888, allocations: 30.77 kB / 0.8456 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005838/0.8885, allocations: 435.8 kB / 0.846 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8885, allocations: 0 / 0.846 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009332/0.8895, allocations: 314.4 kB / 0.8463 GB, free: 4.832 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.001921/0.8914, allocations: 0.6082 MB / 0.8469 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.8932, allocations: 0.7686 MB / 0.8476 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8932, allocations: 0 / 0.8476 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009437/0.8941, allocations: 0.4886 MB / 0.8481 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.8954, allocations: 291.7 kB / 0.8484 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.8996, allocations: 1.771 MB / 0.8501 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.9003, allocations: 1.012 MB / 0.8511 GB, free: 256 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.9007, allocations: 119.4 kB / 0.8512 GB, free: 140 kB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/0.9007, allocations: 0 / 0.8512 GB, free: 140 kB / 0.6075 GB Notification: Performance of Templates: time 0.02784/0.9285, allocations: 17.78 MB / 0.8686 GB, free: 14.37 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