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.001477/0.001477, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001456/0.001456, allocations: 189.8 kB / 17.2 MB, free: 5.605 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: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8249/0.8249, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.88 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 80.92 MB / 0.5851 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004712/0.3242, allocations: 4.193 MB / 0.5892 GB, free: 21.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1682/0.4924, allocations: 150.6 MB / 0.7362 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000823/0.4933, allocations: 19.88 kB / 0.7362 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.4939, allocations: 170.5 kB / 0.7364 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.4956, allocations: 480.9 kB / 0.7368 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.4975, allocations: 0.8298 MB / 0.7376 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.499, allocations: 1.215 MB / 0.7388 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009433/0.4999, allocations: 0.6329 MB / 0.7395 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.5006, allocations: 450.4 kB / 0.7399 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.5011, allocations: 473.9 kB / 0.7403 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.5013, allocations: 104 kB / 0.7404 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009315/0.5022, allocations: 471.6 kB / 0.7409 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.5025, allocations: 275.1 kB / 0.7411 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.503, allocations: 0.5129 MB / 0.7416 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.5047, allocations: 1.499 MB / 0.7431 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5048, allocations: 0 / 0.7431 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5048, allocations: 0 / 0.7431 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.5048, allocations: 0 / 0.7431 GB, free: 8.148 MB / 0.5762 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.002316/0.5071, allocations: 1.361 MB / 0.7444 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5072, allocations: 13.11 kB / 0.7445 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009013/0.5081, allocations: 187.4 kB / 0.7446 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5091, allocations: 0.7072 MB / 0.7453 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.5092, allocations: 65.98 kB / 0.7454 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.5093, allocations: 80 kB / 0.7455 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.5108, allocations: 0.895 MB / 0.7463 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5108, allocations: 4 kB / 0.7463 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.053e-05/0.5109, allocations: 36 kB / 0.7464 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.5109, allocations: 24 kB / 0.7464 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.5127, allocations: 1.093 MB / 0.7475 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.5169, allocations: 2.529 MB / 0.7499 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.5189, allocations: 0.8786 MB / 0.7508 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2668/0.7857, allocations: 286.9 kB / 0.7511 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-05/0.7858, allocations: 33.53 kB / 0.7511 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009257/0.7868, allocations: 443 kB / 0.7515 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.455e-06/0.7868, allocations: 0.8438 kB / 0.7515 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003134/0.7899, allocations: 1.12 MB / 0.7526 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.79, allocations: 189.6 kB / 0.7528 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.7908, allocations: 0.597 MB / 0.7534 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.7908, allocations: 42.39 kB / 0.7534 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.7911, allocations: 377.9 kB / 0.7538 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.7913, allocations: 260.9 kB / 0.754 GB, free: 164 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.7915, allocations: 159.3 kB / 0.7542 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7916, allocations: 382.5 kB / 0.7545 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.7921, allocations: 249.7 kB / 0.7548 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.7928, allocations: 346.8 kB / 0.7551 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.7939, allocations: 0.5751 MB / 0.7557 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7939, allocations: 1.438 kB / 0.7557 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002053/0.796, allocations: 0.8139 MB / 0.7565 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.796, allocations: 5.5 kB / 0.7565 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.796, allocations: 1.891 kB / 0.7565 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.7966, allocations: 86.84 kB / 0.7566 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.7973, allocations: 156.2 kB / 0.7567 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.7992, allocations: 1.62 MB / 0.7583 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.7999, allocations: 91.42 kB / 0.7584 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/0.8, allocations: 37.88 kB / 0.7584 GB, free: 161.2 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: 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.0004404/0.8004, allocations: 263.8 kB / 0.7587 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.8006, allocations: 77.38 kB / 0.7587 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.8033, allocations: 1.057 MB / 0.7598 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.8033, allocations: 15.03 kB / 0.7598 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.8033, allocations: 0.5 kB / 0.7598 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.8033, allocations: 5.531 kB / 0.7598 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.8062, allocations: 1.934 MB / 0.7617 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.8062, allocations: 1.969 kB / 0.7617 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.8068, allocations: 157.1 kB / 0.7618 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.8072, allocations: 72.62 kB / 0.7619 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.8073, allocations: 24.36 kB / 0.7619 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.8088, allocations: 1.666 MB / 0.7636 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8088, allocations: 0 / 0.7636 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.8106, allocations: 0.9547 MB / 0.7645 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.8109, allocations: 263.8 kB / 0.7647 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.811, allocations: 16.03 kB / 0.7647 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.8116, allocations: 64.53 kB / 0.7648 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.8117, allocations: 62.19 kB / 0.7649 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.8118, allocations: 34.83 kB / 0.7649 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004286/0.8122, allocations: 433.9 kB / 0.7653 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8122, allocations: 1.031 kB / 0.7653 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008081/0.813, allocations: 317.2 kB / 0.7656 GB, free: 156.5 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 (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.001749/0.8148, allocations: 0.6186 MB / 0.7662 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001969/0.8168, allocations: 1.003 MB / 0.7672 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8168, allocations: 4 kB / 0.7672 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.8175, allocations: 0.4984 MB / 0.7677 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.8186, allocations: 288.6 kB / 0.768 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.8217, allocations: 1.765 MB / 0.7697 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.8221, allocations: 1.014 MB / 0.7707 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.8223, allocations: 123.4 kB / 0.7708 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.8223, allocations: 0 / 0.7708 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01625/0.8386, allocations: 17.65 MB / 0.788 GB, free: 134.2 MB / 0.5762 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