Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 102.7 kB / 16.4 MB, free: 5.977 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.001384/0.001384, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8328/0.8328, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 61.11 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1565, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005506/0.1621, allocations: 4.175 MB / 0.6694 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5478/0.7099, allocations: 150.6 MB / 0.8165 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008945/0.7109, allocations: 15.59 kB / 0.8165 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.7115, allocations: 172.7 kB / 0.8167 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.7133, allocations: 0.4938 MB / 0.8171 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.7152, allocations: 0.7864 MB / 0.8179 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.7165, allocations: 1.212 MB / 0.8191 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000827/0.7173, allocations: 0.6279 MB / 0.8197 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.7178, allocations: 451.3 kB / 0.8201 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.7183, allocations: 466.9 kB / 0.8206 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.7185, allocations: 106.5 kB / 0.8207 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000821/0.7193, allocations: 471.6 kB / 0.8211 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.7195, allocations: 283.5 kB / 0.8214 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.72, allocations: 0.4994 MB / 0.8219 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.7216, allocations: 1.504 MB / 0.8234 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7216, allocations: 0 / 0.8234 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7216, allocations: 3.938 kB / 0.8234 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.7216, allocations: 0 / 0.8234 GB, free: 5.234 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002192/0.7238, allocations: 1.34 MB / 0.8247 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7238, allocations: 8.609 kB / 0.8247 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.7247, allocations: 186.4 kB / 0.8249 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.7258, allocations: 0.7283 MB / 0.8256 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.7258, allocations: 62.78 kB / 0.8256 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.7259, allocations: 76.09 kB / 0.8257 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.7274, allocations: 0.893 MB / 0.8266 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.7274, allocations: 0 / 0.8266 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.7275, allocations: 35.97 kB / 0.8266 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.7275, allocations: 20.22 kB / 0.8266 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.7291, allocations: 1.097 MB / 0.8277 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.7327, allocations: 2.468 MB / 0.8301 GB, free: 404 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.7339, allocations: 0.7275 MB / 0.8308 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.7344, allocations: 289.9 kB / 0.8311 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/0.7345, allocations: 36.11 kB / 0.8311 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007322/0.7353, allocations: 441.5 kB / 0.8316 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 1.963e-06/0.7353, allocations: 0 / 0.8316 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.002848/0.7381, allocations: 1.113 MB / 0.8326 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.7383, allocations: 192.6 kB / 0.8328 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.739, allocations: 0.6047 MB / 0.8334 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.739, allocations: 42.05 kB / 0.8335 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.7393, allocations: 378.2 kB / 0.8338 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.7395, allocations: 246.8 kB / 0.8341 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.7397, allocations: 166 kB / 0.8342 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.7399, allocations: 378 kB / 0.8346 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.7404, allocations: 253.9 kB / 0.8348 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.741, allocations: 346.8 kB / 0.8351 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.742, allocations: 0.5862 MB / 0.8357 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.742, allocations: 0 / 0.8357 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0018/0.7438, allocations: 0.8155 MB / 0.8365 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7438, allocations: 4.406 kB / 0.8365 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7438, allocations: 3 kB / 0.8365 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.7444, allocations: 86.86 kB / 0.8366 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.745, allocations: 155.1 kB / 0.8367 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.7471, allocations: 1.644 MB / 0.8384 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.7477, allocations: 82.42 kB / 0.8384 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.7478, allocations: 34.92 kB / 0.8385 GB, free: 10.52 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (89): * Single equations (assignments): 88 * 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.0003897/0.7482, allocations: 258.3 kB / 0.8387 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.7483, allocations: 81 kB / 0.8388 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.7505, allocations: 1.02 MB / 0.8398 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.7505, allocations: 7.781 kB / 0.8398 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.7505, allocations: 0 / 0.8398 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.7505, allocations: 5.766 kB / 0.8398 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.7535, allocations: 1.879 MB / 0.8416 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.7535, allocations: 0 / 0.8416 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.754, allocations: 145 kB / 0.8418 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000405/0.7545, allocations: 72.06 kB / 0.8418 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.7545, allocations: 25.52 kB / 0.8419 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.7563, allocations: 1.674 MB / 0.8435 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7564, allocations: 3.938 kB / 0.8435 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.7581, allocations: 0.927 MB / 0.8444 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.7584, allocations: 257.1 kB / 0.8447 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.7585, allocations: 24.36 kB / 0.8447 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.7591, allocations: 49.33 kB / 0.8447 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.7592, allocations: 63.56 kB / 0.8448 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.7593, allocations: 28.11 kB / 0.8448 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005198/0.7598, allocations: 441.6 kB / 0.8452 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7598, allocations: 0 / 0.8452 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008132/0.7607, allocations: 299.7 kB / 0.8455 GB, free: 5.531 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 (87): * Single equations (assignments): 84 * 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.001298/0.762, allocations: 0.5985 MB / 0.8461 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.7635, allocations: 0.7897 MB / 0.8469 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.7635, allocations: 4 kB / 0.8469 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008304/0.7643, allocations: 496.3 kB / 0.8474 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.7655, allocations: 280.1 kB / 0.8476 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.769, allocations: 1.724 MB / 0.8493 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.7696, allocations: 1.007 MB / 0.8503 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.7699, allocations: 111.4 kB / 0.8504 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.7699, allocations: 0 / 0.8504 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.02292/0.7928, allocations: 17.55 MB / 0.8675 GB, free: 15.42 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngleCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngleFunctions.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.IncidenceAngleCalcHelperMain.o] Error 1