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.001057/0.001057, allocations: 111 kB / 15.99 MB, free: 6.344 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.001106/0.001106, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.27/1.27, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7823/0.7823, allocations: 132.2 MB / 422.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 0.5019 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3859, allocations: 80.19 MB / 0.5802 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00528/0.3913, allocations: 4.201 MB / 0.5843 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1469/0.5382, allocations: 148.3 MB / 0.7291 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009473/0.5392, allocations: 23.81 kB / 0.7291 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.5399, allocations: 131 kB / 0.7293 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.5418, allocations: 422.2 kB / 0.7297 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.5439, allocations: 0.7249 MB / 0.7304 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.5453, allocations: 1.203 MB / 0.7315 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.5462, allocations: 0.6489 MB / 0.7322 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006256/0.5468, allocations: 446.4 kB / 0.7326 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.5473, allocations: 461.9 kB / 0.733 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.5475, allocations: 104 kB / 0.7331 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.5483, allocations: 443.6 kB / 0.7336 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.5485, allocations: 279.1 kB / 0.7338 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003857/0.5489, allocations: 0.5012 MB / 0.7343 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.5502, allocations: 1.119 MB / 0.7354 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5502, allocations: 0 / 0.7354 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5502, allocations: 0 / 0.7354 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5502, allocations: 0 / 0.7354 GB, free: 15.14 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002135/0.5524, allocations: 1.35 MB / 0.7367 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5524, allocations: 12.03 kB / 0.7367 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.5536, allocations: 223.4 kB / 0.737 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009103/0.5545, allocations: 0.7072 MB / 0.7377 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.5546, allocations: 62 kB / 0.7377 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.5547, allocations: 76 kB / 0.7378 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.5563, allocations: 0.9209 MB / 0.7387 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.5563, allocations: 7.938 kB / 0.7387 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.5564, allocations: 36 kB / 0.7387 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.5564, allocations: 24 kB / 0.7387 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.5582, allocations: 1.1 MB / 0.7398 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.5621, allocations: 2.699 MB / 0.7425 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.5636, allocations: 0.8586 MB / 0.7433 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.5641, allocations: 282.8 kB / 0.7436 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.333e-05/0.5642, allocations: 28.62 kB / 0.7436 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007464/0.5649, allocations: 435.2 kB / 0.744 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 2.484e-06/0.5649, allocations: 0 / 0.744 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002939/0.5679, allocations: 1.088 MB / 0.7451 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.568, allocations: 188.6 kB / 0.7453 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.5687, allocations: 0.5901 MB / 0.7458 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.5688, allocations: 41.7 kB / 0.7459 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.5691, allocations: 384.2 kB / 0.7462 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.5693, allocations: 252.3 kB / 0.7465 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.5695, allocations: 150.5 kB / 0.7466 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5697, allocations: 390.7 kB / 0.747 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.5702, allocations: 241.9 kB / 0.7472 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.5707, allocations: 345.7 kB / 0.7476 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009874/0.5717, allocations: 0.5863 MB / 0.7481 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5717, allocations: 4 kB / 0.7481 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001821/0.5736, allocations: 0.798 MB / 0.7489 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5736, allocations: 4 kB / 0.7489 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5736, allocations: 4 kB / 0.7489 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/0.5743, allocations: 88.89 kB / 0.749 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.5749, allocations: 151.8 kB / 0.7491 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3119/0.8868, allocations: 1.627 MB / 0.7507 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/0.8878, allocations: 87.92 kB / 0.7508 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.8879, allocations: 33.17 kB / 0.7508 GB, free: 165.6 MB / 0.5762 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.0005743/0.8885, allocations: 258.9 kB / 0.7511 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.8887, allocations: 82.72 kB / 0.7512 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.8912, allocations: 0.989 MB / 0.7521 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.8912, allocations: 9.969 kB / 0.7521 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8912, allocations: 0 / 0.7521 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.8912, allocations: 13.39 kB / 0.7522 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.8948, allocations: 1.913 MB / 0.754 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8948, allocations: 0.9375 kB / 0.754 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.8955, allocations: 150 kB / 0.7542 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/0.896, allocations: 73.06 kB / 0.7542 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.896, allocations: 20.56 kB / 0.7543 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.8978, allocations: 1.656 MB / 0.7559 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8978, allocations: 1.062 kB / 0.7559 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.8999, allocations: 0.9181 MB / 0.7568 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.9003, allocations: 253.4 kB / 0.757 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.9004, allocations: 17.22 kB / 0.757 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.901, allocations: 55.75 kB / 0.7571 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.9012, allocations: 60.86 kB / 0.7571 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/0.9013, allocations: 33.09 kB / 0.7572 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008111/0.9021, allocations: 429.7 kB / 0.7576 GB, free: 162 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9021, allocations: 4.469 kB / 0.7576 GB, free: 162 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001536/0.9037, allocations: 298.9 kB / 0.7579 GB, free: 161.9 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 (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.00189/0.9056, allocations: 0.5893 MB / 0.7585 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002986/0.9086, allocations: 0.968 MB / 0.7594 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.9086, allocations: 1.281 kB / 0.7594 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008492/0.9095, allocations: 489.8 kB / 0.7599 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.9108, allocations: 308.5 kB / 0.7602 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.9148, allocations: 2.107 MB / 0.7622 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.9153, allocations: 1.009 MB / 0.7632 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.9156, allocations: 109.5 kB / 0.7633 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.9156, allocations: 0 / 0.7633 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02181/0.9375, allocations: 17.36 MB / 0.7803 GB, free: 144 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile clang++ -std=c++14 -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