Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 102 kB / 16.4 MB, free: 6.504 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.001652/0.001652, allocations: 185.5 kB / 17.34 MB, free: 5.77 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7698/0.7698, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 69.34 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1502, allocations: 80.22 MB / 0.6603 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006015/0.1563, allocations: 4.185 MB / 0.6644 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4945/0.6508, allocations: 150.5 MB / 0.8114 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007814/0.6517, allocations: 22.91 kB / 0.8114 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.6524, allocations: 166.4 kB / 0.8115 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.654, allocations: 487.9 kB / 0.812 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.656, allocations: 0.8037 MB / 0.8128 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.6574, allocations: 1.223 MB / 0.814 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.6584, allocations: 0.6339 MB / 0.8146 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007518/0.6592, allocations: 444 kB / 0.815 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007292/0.66, allocations: 465.6 kB / 0.8155 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002819/0.6602, allocations: 104.9 kB / 0.8156 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.6613, allocations: 472 kB / 0.816 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.6616, allocations: 273.1 kB / 0.8163 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006027/0.6623, allocations: 0.5028 MB / 0.8168 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.6641, allocations: 1.505 MB / 0.8182 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6641, allocations: 2.531 kB / 0.8182 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6642, allocations: 0 / 0.8182 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.148e-05/0.6642, allocations: 0 / 0.8182 GB, free: 9.934 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002609/0.6668, allocations: 1.344 MB / 0.8196 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.6669, allocations: 9.406 kB / 0.8196 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.6681, allocations: 230.7 kB / 0.8198 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.6692, allocations: 0.7322 MB / 0.8205 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.6692, allocations: 67.66 kB / 0.8206 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.6693, allocations: 78.12 kB / 0.8206 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.6709, allocations: 0.9256 MB / 0.8215 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.671, allocations: 2.625 kB / 0.8215 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/0.6711, allocations: 36.03 kB / 0.8216 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.6711, allocations: 20.53 kB / 0.8216 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.6729, allocations: 1.111 MB / 0.8227 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003737/0.6767, allocations: 2.65 MB / 0.8253 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.6782, allocations: 0.8492 MB / 0.8261 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.6787, allocations: 286 kB / 0.8264 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/0.6788, allocations: 36.16 kB / 0.8264 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007146/0.6795, allocations: 433 kB / 0.8268 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=74): time 3.206e-06/0.6795, allocations: 0 / 0.8268 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74): time 0.002894/0.6824, allocations: 1.088 MB / 0.8279 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.6825, allocations: 188 kB / 0.8281 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.6833, allocations: 0.5919 MB / 0.8286 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.6833, allocations: 38.02 kB / 0.8287 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.6837, allocations: 393.9 kB / 0.8291 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.6839, allocations: 250.7 kB / 0.8293 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.6841, allocations: 157.2 kB / 0.8294 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6843, allocations: 386.2 kB / 0.8298 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.6847, allocations: 245 kB / 0.83 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.6853, allocations: 344.8 kB / 0.8304 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.6863, allocations: 0.5892 MB / 0.8309 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6863, allocations: 0 / 0.8309 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001858/0.6882, allocations: 0.7997 MB / 0.8317 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.6882, allocations: 9.219 kB / 0.8317 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6882, allocations: 9.125 kB / 0.8317 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/0.6889, allocations: 86.86 kB / 0.8318 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.6895, allocations: 151.2 kB / 0.832 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.6916, allocations: 1.631 MB / 0.8336 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.6923, allocations: 77.03 kB / 0.8336 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.6924, allocations: 41.12 kB / 0.8337 GB, free: 15.02 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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.0004576/0.6929, allocations: 259.5 kB / 0.8339 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.6931, allocations: 74.16 kB / 0.834 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.6953, allocations: 0.9884 MB / 0.835 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.6954, allocations: 10.72 kB / 0.835 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6954, allocations: 0 / 0.835 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.6954, allocations: 7.922 kB / 0.835 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.6988, allocations: 1.92 MB / 0.8369 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6989, allocations: 0 / 0.8369 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.6995, allocations: 147.3 kB / 0.837 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.6999, allocations: 74.19 kB / 0.8371 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.7, allocations: 19.64 kB / 0.8371 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.7019, allocations: 1.66 MB / 0.8387 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7019, allocations: 0 / 0.8387 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.7039, allocations: 0.9221 MB / 0.8396 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.7043, allocations: 246.9 kB / 0.8398 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.7045, allocations: 20.94 kB / 0.8399 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.7051, allocations: 54.34 kB / 0.8399 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.7052, allocations: 62.45 kB / 0.84 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.7053, allocations: 37.62 kB / 0.84 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005958/0.7059, allocations: 421.9 kB / 0.8404 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7059, allocations: 0 / 0.8404 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009348/0.7069, allocations: 307.2 kB / 0.8407 GB, free: 10.03 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 (86): * Single equations (assignments): 83 * 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.001388/0.7083, allocations: 0.5862 MB / 0.8413 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.7099, allocations: 0.7708 MB / 0.842 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.7099, allocations: 2.156 kB / 0.842 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.7108, allocations: 496.6 kB / 0.8425 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.7122, allocations: 318.2 kB / 0.8428 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.716, allocations: 1.701 MB / 0.8445 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.7166, allocations: 1.003 MB / 0.8454 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.7169, allocations: 103.4 kB / 0.8455 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.717, allocations: 0 / 0.8455 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of Templates: time 0.02439/0.7414, allocations: 17.58 MB / 0.8627 GB, free: 5.047 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.o] Error 1