Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001303/0.001303, allocations: 107.7 kB / 16.4 MB, free: 6.375 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.001268/0.001268, allocations: 187.8 kB / 17.33 MB, free: 5.84 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.411/1.411, 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.869/0.869, allocations: 135.2 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 62.55 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.163, allocations: 80.94 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006303/0.1693, allocations: 4.196 MB / 0.6694 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5832/0.7524, allocations: 150.9 MB / 0.8168 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008485/0.7533, allocations: 19.66 kB / 0.8168 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.7539, allocations: 173.4 kB / 0.817 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.7556, allocations: 493 kB / 0.8175 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.7576, allocations: 0.8091 MB / 0.8182 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.7591, allocations: 1.214 MB / 0.8194 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007848/0.7599, allocations: 481.6 kB / 0.8199 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.7605, allocations: 447 kB / 0.8203 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.7611, allocations: 456.6 kB / 0.8208 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.7612, allocations: 106.5 kB / 0.8209 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009641/0.7622, allocations: 480.5 kB / 0.8213 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.7624, allocations: 269.5 kB / 0.8216 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.7629, allocations: 0.5031 MB / 0.8221 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.765, allocations: 1.511 MB / 0.8235 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.765, allocations: 0 / 0.8235 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.765, allocations: 0 / 0.8235 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.765, allocations: 6.531 kB / 0.8235 GB, free: 5.035 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.002413/0.7674, allocations: 1.379 MB / 0.8249 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.7674, allocations: 14.91 kB / 0.8249 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.7686, allocations: 226 kB / 0.8251 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.7699, allocations: 0.7417 MB / 0.8258 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.77, allocations: 58.94 kB / 0.8259 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.7701, allocations: 81.5 kB / 0.826 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.7718, allocations: 0.9197 MB / 0.8269 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.7718, allocations: 3.938 kB / 0.8269 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/0.7719, allocations: 35.78 kB / 0.8269 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.7719, allocations: 20.78 kB / 0.8269 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.7737, allocations: 1.111 MB / 0.828 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.7778, allocations: 2.657 MB / 0.8306 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.7794, allocations: 0.8133 MB / 0.8314 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/0.7799, allocations: 255.5 kB / 0.8317 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.534e-05/0.78, allocations: 33.5 kB / 0.8317 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000771/0.7807, allocations: 434.6 kB / 0.8321 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 2.986e-06/0.7808, allocations: 0 / 0.8321 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.002971/0.7837, allocations: 1.091 MB / 0.8332 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.7839, allocations: 192.2 kB / 0.8333 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/0.7846, allocations: 0.5934 MB / 0.8339 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.7847, allocations: 36.33 kB / 0.834 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.785, allocations: 399.2 kB / 0.8343 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.7853, allocations: 268.7 kB / 0.8346 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.7855, allocations: 156.4 kB / 0.8347 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.7857, allocations: 380.6 kB / 0.8351 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.7862, allocations: 239.8 kB / 0.8353 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.7868, allocations: 353.9 kB / 0.8357 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.7878, allocations: 0.583 MB / 0.8362 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7878, allocations: 2.312 kB / 0.8362 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001841/0.7897, allocations: 0.8067 MB / 0.837 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7897, allocations: 8.375 kB / 0.837 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7897, allocations: 2.531 kB / 0.837 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/0.7902, allocations: 80.66 kB / 0.8371 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.7908, allocations: 152.4 kB / 0.8373 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.7931, allocations: 1.629 MB / 0.8389 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.7938, allocations: 87.5 kB / 0.8389 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.7939, allocations: 39.25 kB / 0.839 GB, free: 9.883 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.0004817/0.7944, allocations: 267.3 kB / 0.8392 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.7945, allocations: 81.7 kB / 0.8393 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.7967, allocations: 0.9795 MB / 0.8403 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7968, allocations: 7.406 kB / 0.8403 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.7968, allocations: 0 / 0.8403 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.7968, allocations: 7.922 kB / 0.8403 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.8, allocations: 1.912 MB / 0.8422 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8, allocations: 4 kB / 0.8422 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.8006, allocations: 142.8 kB / 0.8423 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004115/0.801, allocations: 71.06 kB / 0.8424 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.8011, allocations: 27.89 kB / 0.8424 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.8031, allocations: 1.66 MB / 0.844 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8031, allocations: 0 / 0.844 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.805, allocations: 0.9256 MB / 0.8449 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.8054, allocations: 255.7 kB / 0.8452 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.8055, allocations: 16.88 kB / 0.8452 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.806, allocations: 54.31 kB / 0.8452 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.8062, allocations: 63.31 kB / 0.8453 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.8062, allocations: 28.08 kB / 0.8453 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005615/0.8068, allocations: 434 kB / 0.8457 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8068, allocations: 4 kB / 0.8457 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008982/0.8077, allocations: 299.2 kB / 0.846 GB, free: 4.867 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.001884/0.8096, allocations: 0.5947 MB / 0.8466 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.8112, allocations: 0.7472 MB / 0.8473 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.8112, allocations: 0 / 0.8473 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008768/0.8121, allocations: 463 kB / 0.8478 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.8133, allocations: 298.2 kB / 0.848 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.8173, allocations: 1.743 MB / 0.8498 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.818, allocations: 1.003 MB / 0.8507 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.8183, allocations: 111.4 kB / 0.8508 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.8183, allocations: 0 / 0.8508 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of Templates: time 0.02561/0.8439, allocations: 17.51 MB / 0.8679 GB, free: 15.07 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile make -j1 -f IDEAS_dev_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-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.SkyTemperature.Examples.BlackBodyCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBodyFunctions.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.SkyTemperature.Examples.BlackBodyCalcHelperMain.o] Error 1