Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 111.5 kB / 16.41 MB, free: 5.938 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.001288/0.001288, allocations: 188.2 kB / 17.34 MB, free: 5.566 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8611/0.8611, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 62.81 kB / 0.5863 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1796, allocations: 80.94 MB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006805/0.1864, allocations: 4.317 MB / 0.6696 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6171/0.8035, allocations: 151 MB / 0.817 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.8042, allocations: 16.31 kB / 0.8171 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005724/0.8048, allocations: 186.1 kB / 0.8172 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.8066, allocations: 0.5005 MB / 0.8177 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.8085, allocations: 0.8341 MB / 0.8185 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.8099, allocations: 1.267 MB / 0.8198 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.8107, allocations: 0.5203 MB / 0.8203 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.8114, allocations: 499.7 kB / 0.8208 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.812, allocations: 0.5096 MB / 0.8213 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.8122, allocations: 117.2 kB / 0.8214 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000959/0.8131, allocations: 0.5 MB / 0.8219 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.8134, allocations: 303.8 kB / 0.8222 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.814, allocations: 0.5663 MB / 0.8227 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.8162, allocations: 1.657 MB / 0.8243 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8162, allocations: 0 / 0.8243 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8162, allocations: 0 / 0.8243 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.8162, allocations: 0 / 0.8243 GB, free: 4.449 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.00272/0.8189, allocations: 1.477 MB / 0.8258 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.819, allocations: 10.55 kB / 0.8258 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/0.8199, allocations: 199.5 kB / 0.826 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.8211, allocations: 0.7668 MB / 0.8267 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.8212, allocations: 70.25 kB / 0.8268 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.8213, allocations: 90.56 kB / 0.8269 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.823, allocations: 0.985 MB / 0.8278 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.8231, allocations: 2.656 kB / 0.8278 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.8231, allocations: 39.84 kB / 0.8279 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.8232, allocations: 23.03 kB / 0.8279 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.825, allocations: 1.163 MB / 0.829 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004563/0.8296, allocations: 2.709 MB / 0.8317 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.831, allocations: 0.7286 MB / 0.8324 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/0.8315, allocations: 274.7 kB / 0.8326 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.49e-05/0.8316, allocations: 35.53 kB / 0.8327 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008276/0.8324, allocations: 459.6 kB / 0.8331 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.595e-06/0.8324, allocations: 0 / 0.8331 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.003047/0.8355, allocations: 1.156 MB / 0.8343 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.8356, allocations: 190.8 kB / 0.8344 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.8365, allocations: 0.6314 MB / 0.835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/0.8366, allocations: 40.36 kB / 0.8351 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.8369, allocations: 420 kB / 0.8355 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.8372, allocations: 278.2 kB / 0.8358 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.8375, allocations: 169.5 kB / 0.8359 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.8377, allocations: 389.1 kB / 0.8363 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.8382, allocations: 259.1 kB / 0.8365 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.8388, allocations: 361.7 kB / 0.8369 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.84, allocations: 0.6138 MB / 0.8375 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.84, allocations: 7.547 kB / 0.8375 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001979/0.842, allocations: 0.838 MB / 0.8383 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.842, allocations: 5.031 kB / 0.8383 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.842, allocations: 1.812 kB / 0.8383 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.8426, allocations: 92.3 kB / 0.8384 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.8433, allocations: 165.7 kB / 0.8386 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.8456, allocations: 1.622 MB / 0.8401 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/0.8464, allocations: 86.88 kB / 0.8402 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/0.8464, allocations: 35.11 kB / 0.8403 GB, free: 9.164 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 (93): * Single equations (assignments): 92 * 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.0005927/0.847, allocations: 278.1 kB / 0.8405 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.8472, allocations: 88.03 kB / 0.8406 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.8497, allocations: 1.078 MB / 0.8417 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.8497, allocations: 11.5 kB / 0.8417 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.8497, allocations: 6.562 kB / 0.8417 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.8498, allocations: 7.734 kB / 0.8417 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.8533, allocations: 1.999 MB / 0.8436 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.8533, allocations: 4 kB / 0.8436 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.8539, allocations: 158.6 kB / 0.8438 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.8543, allocations: 68.09 kB / 0.8439 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.8544, allocations: 30.17 kB / 0.8439 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.8566, allocations: 1.66 MB / 0.8455 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8566, allocations: 0 / 0.8455 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.8587, allocations: 0.9795 MB / 0.8465 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.8592, allocations: 276.3 kB / 0.8467 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.8593, allocations: 19.56 kB / 0.8467 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/0.8598, allocations: 52.56 kB / 0.8468 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.86, allocations: 65.34 kB / 0.8469 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.8601, allocations: 35.39 kB / 0.8469 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006305/0.8607, allocations: 461.1 kB / 0.8473 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8607, allocations: 7.938 kB / 0.8473 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001003/0.8617, allocations: 335 kB / 0.8477 GB, free: 3.734 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 (94): * Single equations (assignments): 91 * 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.002043/0.8637, allocations: 0.6159 MB / 0.8483 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.8656, allocations: 0.8 MB / 0.849 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8656, allocations: 3.938 kB / 0.849 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.8666, allocations: 484.2 kB / 0.8495 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.868, allocations: 291 kB / 0.8498 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.8725, allocations: 1.883 MB / 0.8516 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007359/0.8732, allocations: 1.039 MB / 0.8526 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.8737, allocations: 123.4 kB / 0.8528 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of SimCode: time 1.453e-06/0.8737, allocations: 0 / 0.8528 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of Templates: time 0.02988/0.9035, allocations: 18.93 MB / 0.8712 GB, free: 11.72 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuthCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthFunctions.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.WallSolarAzimuthCalcHelperMain.o] Error 1