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.001201/0.001201, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001158/0.001158, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.716/0.716, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 57.97 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1369, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00566/0.1426, allocations: 4.321 MB / 0.6695 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4379/0.5806, allocations: 150.6 MB / 0.8166 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006733/0.5813, allocations: 15.5 kB / 0.8166 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.5819, allocations: 173.9 kB / 0.8167 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.5836, allocations: 0.4958 MB / 0.8172 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.5854, allocations: 0.8274 MB / 0.818 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.5868, allocations: 1.277 MB / 0.8193 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009054/0.5877, allocations: 0.7063 MB / 0.82 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006511/0.5883, allocations: 0.4908 MB / 0.8205 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.589, allocations: 0.5132 MB / 0.821 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.5892, allocations: 118.5 kB / 0.8211 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.5901, allocations: 0.5016 MB / 0.8216 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.5904, allocations: 298.9 kB / 0.8218 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.5908, allocations: 0.5562 MB / 0.8224 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.5923, allocations: 1.657 MB / 0.824 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5924, allocations: 0 / 0.824 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5924, allocations: 0 / 0.824 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.5924, allocations: 0 / 0.824 GB, free: 4.734 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.001897/0.5943, allocations: 1.432 MB / 0.8254 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.5943, allocations: 9.047 kB / 0.8254 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000762/0.5951, allocations: 191.2 kB / 0.8256 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.5961, allocations: 0.7675 MB / 0.8263 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.56e-05/0.5961, allocations: 69.97 kB / 0.8264 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.5962, allocations: 86.12 kB / 0.8265 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5976, allocations: 0.9942 MB / 0.8275 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.5977, allocations: 4 kB / 0.8275 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.5977, allocations: 38.09 kB / 0.8275 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.5978, allocations: 23.06 kB / 0.8275 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.5993, allocations: 1.16 MB / 0.8287 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/0.6027, allocations: 2.687 MB / 0.8313 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.6039, allocations: 0.7737 MB / 0.832 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/0.6043, allocations: 307.4 kB / 0.8323 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.101e-05/0.6044, allocations: 35.72 kB / 0.8324 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006783/0.6051, allocations: 465 kB / 0.8328 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 1.893e-06/0.6051, allocations: 0 / 0.8328 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.002557/0.6077, allocations: 1.157 MB / 0.8339 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.6078, allocations: 192 kB / 0.8341 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.6084, allocations: 0.6314 MB / 0.8347 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.6085, allocations: 38.05 kB / 0.8348 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.6087, allocations: 409.8 kB / 0.8352 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.6089, allocations: 273 kB / 0.8354 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.6091, allocations: 164.4 kB / 0.8356 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6093, allocations: 392.7 kB / 0.836 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.6097, allocations: 260.7 kB / 0.8362 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.6102, allocations: 356.2 kB / 0.8365 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009565/0.6112, allocations: 0.6115 MB / 0.8371 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6112, allocations: 0 / 0.8371 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001664/0.6129, allocations: 0.8516 MB / 0.838 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.6129, allocations: 4.844 kB / 0.838 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6129, allocations: 2.938 kB / 0.838 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.6134, allocations: 83.23 kB / 0.8381 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.6141, allocations: 162.4 kB / 0.8382 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.6158, allocations: 1.631 MB / 0.8398 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.6164, allocations: 82.81 kB / 0.8399 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.6165, allocations: 38.66 kB / 0.8399 GB, free: 9.504 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.0003154/0.6168, allocations: 266 kB / 0.8402 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6169, allocations: 83.75 kB / 0.8403 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.619, allocations: 1.087 MB / 0.8413 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.6191, allocations: 13.94 kB / 0.8413 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.6191, allocations: 0 / 0.8413 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6191, allocations: 7.734 kB / 0.8413 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.6219, allocations: 1.995 MB / 0.8433 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6219, allocations: 0 / 0.8433 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.6225, allocations: 162.8 kB / 0.8434 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003759/0.6229, allocations: 74.44 kB / 0.8435 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.6229, allocations: 23.42 kB / 0.8435 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.6245, allocations: 1.661 MB / 0.8452 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6246, allocations: 0 / 0.8452 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.6262, allocations: 0.979 MB / 0.8461 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.6265, allocations: 274 kB / 0.8464 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.6266, allocations: 16.72 kB / 0.8464 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.6271, allocations: 58.66 kB / 0.8464 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.6272, allocations: 66.09 kB / 0.8465 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.6273, allocations: 34.89 kB / 0.8465 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004738/0.6278, allocations: 458.1 kB / 0.847 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6278, allocations: 0 / 0.847 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007495/0.6285, allocations: 331.1 kB / 0.8473 GB, free: 4 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.001211/0.6297, allocations: 0.6118 MB / 0.8479 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.6311, allocations: 0.8166 MB / 0.8487 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6312, allocations: 0 / 0.8487 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.632, allocations: 0.5315 MB / 0.8492 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.633, allocations: 294.3 kB / 0.8495 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.6363, allocations: 1.836 MB / 0.8513 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.6368, allocations: 1.039 MB / 0.8523 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.6371, allocations: 123.3 kB / 0.8524 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.6371, allocations: 0 / 0.8524 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.02015/0.6573, allocations: 19.03 MB / 0.871 GB, free: 11.87 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