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.001184/0.001184, allocations: 110.8 kB / 16.41 MB, free: 6.48 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.001192/0.001192, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7208/0.7208, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 67.48 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1234, allocations: 80.93 MB / 0.6653 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005437/0.1289, allocations: 4.212 MB / 0.6694 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4587/0.5876, allocations: 150.6 MB / 0.8164 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006857/0.5883, allocations: 15.31 kB / 0.8165 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.5888, allocations: 174.2 kB / 0.8166 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.5902, allocations: 488.8 kB / 0.8171 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.5918, allocations: 0.8274 MB / 0.8179 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009351/0.5927, allocations: 1.23 MB / 0.8191 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.5934, allocations: 0.6354 MB / 0.8197 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.5939, allocations: 455.5 kB / 0.8202 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.5943, allocations: 465.1 kB / 0.8206 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.5944, allocations: 107.4 kB / 0.8207 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.5951, allocations: 0.4899 MB / 0.8212 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.5954, allocations: 283 kB / 0.8214 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.5957, allocations: 0.5129 MB / 0.8219 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.5971, allocations: 1.532 MB / 0.8234 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5971, allocations: 1.844 kB / 0.8234 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5971, allocations: 0 / 0.8234 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.5971, allocations: 3.938 kB / 0.8235 GB, free: 5.203 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.001894/0.599, allocations: 1.353 MB / 0.8248 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.599, allocations: 11.45 kB / 0.8248 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007999/0.5998, allocations: 184.7 kB / 0.825 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/0.6008, allocations: 0.7331 MB / 0.8257 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.6008, allocations: 65.12 kB / 0.8257 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.6009, allocations: 76.16 kB / 0.8258 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6022, allocations: 0.8984 MB / 0.8267 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.6023, allocations: 7.922 kB / 0.8267 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.6024, allocations: 35.25 kB / 0.8267 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.6024, allocations: 20.69 kB / 0.8267 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.6039, allocations: 1.101 MB / 0.8278 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003313/0.6072, allocations: 2.494 MB / 0.8303 GB, free: 332 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.6089, allocations: 0.8643 MB / 0.8311 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.6093, allocations: 289.2 kB / 0.8314 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.6094, allocations: 39.73 kB / 0.8314 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006963/0.6101, allocations: 447.6 kB / 0.8318 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 1.944e-06/0.6101, allocations: 0 / 0.8318 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.002656/0.6128, allocations: 1.121 MB / 0.8329 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.6129, allocations: 188 kB / 0.8331 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.6135, allocations: 0.597 MB / 0.8337 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.6135, allocations: 40.33 kB / 0.8337 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.6138, allocations: 379.4 kB / 0.8341 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.614, allocations: 258.8 kB / 0.8343 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.6142, allocations: 158.5 kB / 0.8345 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6143, allocations: 385.8 kB / 0.8349 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.6148, allocations: 247.5 kB / 0.8351 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.6153, allocations: 342.2 kB / 0.8354 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009291/0.6162, allocations: 0.5867 MB / 0.836 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.6162, allocations: 2 kB / 0.836 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001651/0.6179, allocations: 0.8083 MB / 0.8368 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6179, allocations: 4.938 kB / 0.8368 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6179, allocations: 0 / 0.8368 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.6185, allocations: 85.64 kB / 0.8369 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.619, allocations: 163.8 kB / 0.837 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.6209, allocations: 1.629 MB / 0.8386 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/0.6215, allocations: 92.7 kB / 0.8387 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.6216, allocations: 39.98 kB / 0.8388 GB, free: 10.32 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.0003589/0.6219, allocations: 257.1 kB / 0.839 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.6221, allocations: 78.11 kB / 0.8391 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.6242, allocations: 1.055 MB / 0.8401 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6242, allocations: 10.16 kB / 0.8401 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.6242, allocations: 0 / 0.8401 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6242, allocations: 7.922 kB / 0.8401 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.627, allocations: 1.929 MB / 0.842 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.627, allocations: 2.25 kB / 0.842 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.6275, allocations: 161 kB / 0.8422 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/0.6279, allocations: 72.03 kB / 0.8422 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.628, allocations: 25.77 kB / 0.8423 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.6296, allocations: 1.662 MB / 0.8439 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6296, allocations: 0 / 0.8439 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.6313, allocations: 0.9601 MB / 0.8448 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.6316, allocations: 263.2 kB / 0.8451 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.6317, allocations: 16.72 kB / 0.8451 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.6322, allocations: 64.31 kB / 0.8451 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.6324, allocations: 62.06 kB / 0.8452 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.6324, allocations: 30.95 kB / 0.8452 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004553/0.6329, allocations: 433.1 kB / 0.8456 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6329, allocations: 3.938 kB / 0.8456 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007954/0.6337, allocations: 311.3 kB / 0.8459 GB, free: 5.266 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.001244/0.6349, allocations: 0.6162 MB / 0.8465 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.6364, allocations: 0.7892 MB / 0.8473 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6364, allocations: 4 kB / 0.8473 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007935/0.6372, allocations: 0.5159 MB / 0.8478 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.6383, allocations: 289.9 kB / 0.8481 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.6417, allocations: 1.734 MB / 0.8498 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.6422, allocations: 1.012 MB / 0.8508 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.6425, allocations: 111.4 kB / 0.8509 GB, free: 452 kB / 0.6075 GB Notification: Performance of SimCode: time 4.7e-07/0.6425, allocations: 4 kB / 0.8509 GB, free: 448 kB / 0.6075 GB Notification: Performance of Templates: time 0.02129/0.6638, allocations: 17.75 MB / 0.8682 GB, free: 14.7 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