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.00117/0.00117, allocations: 108.8 kB / 16.41 MB, free: 6.453 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.001448/0.001448, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8251/0.8251, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.52 kB / 0.5862 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.166, allocations: 80.94 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005996/0.172, allocations: 4.199 MB / 0.6694 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6165/0.7885, allocations: 150.5 MB / 0.8163 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.7896, allocations: 22.88 kB / 0.8163 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.7903, allocations: 168 kB / 0.8165 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.7922, allocations: 484.1 kB / 0.817 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.7945, allocations: 0.8077 MB / 0.8178 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.7959, allocations: 1.214 MB / 0.8189 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008998/0.7969, allocations: 0.6393 MB / 0.8196 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.7975, allocations: 453.5 kB / 0.82 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.798, allocations: 458.3 kB / 0.8204 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.7982, allocations: 102.3 kB / 0.8205 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009295/0.7991, allocations: 478.7 kB / 0.821 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.7993, allocations: 274.6 kB / 0.8213 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.7998, allocations: 0.5056 MB / 0.8217 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.8015, allocations: 1.489 MB / 0.8232 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.856e-05/0.8015, allocations: 3.938 kB / 0.8232 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8015, allocations: 0 / 0.8232 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.8015, allocations: 0 / 0.8232 GB, free: 5.352 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.002427/0.804, allocations: 1.352 MB / 0.8245 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.804, allocations: 11.33 kB / 0.8245 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.8053, allocations: 222.2 kB / 0.8248 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.8066, allocations: 0.7432 MB / 0.8255 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.8066, allocations: 58.5 kB / 0.8255 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.8067, allocations: 81.09 kB / 0.8256 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.8083, allocations: 0.9146 MB / 0.8265 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.8084, allocations: 0 / 0.8265 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/0.8085, allocations: 41.94 kB / 0.8265 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.8085, allocations: 23.67 kB / 0.8266 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.8103, allocations: 1.112 MB / 0.8277 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.8145, allocations: 2.657 MB / 0.8302 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.8163, allocations: 0.8533 MB / 0.8311 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.8169, allocations: 276.8 kB / 0.8313 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.281e-05/0.817, allocations: 39.52 kB / 0.8314 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008459/0.8178, allocations: 428.8 kB / 0.8318 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 3.056e-06/0.8178, allocations: 0 / 0.8318 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.003041/0.8209, allocations: 1.087 MB / 0.8329 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.821, allocations: 192.4 kB / 0.833 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/0.8218, allocations: 0.594 MB / 0.8336 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.8219, allocations: 35.95 kB / 0.8336 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.8222, allocations: 388.1 kB / 0.834 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.8225, allocations: 250.9 kB / 0.8343 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.8227, allocations: 159.9 kB / 0.8344 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.823, allocations: 384.2 kB / 0.8348 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/0.8234, allocations: 238.2 kB / 0.835 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.8241, allocations: 352.8 kB / 0.8353 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.8251, allocations: 0.5851 MB / 0.8359 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8251, allocations: 0 / 0.8359 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001888/0.827, allocations: 0.8037 MB / 0.8367 GB, free: 12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.8271, allocations: 6.781 kB / 0.8367 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.8271, allocations: 6.844 kB / 0.8367 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.8277, allocations: 79.39 kB / 0.8368 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.8283, allocations: 156 kB / 0.8369 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.8306, allocations: 1.632 MB / 0.8385 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.8314, allocations: 83.05 kB / 0.8386 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.8314, allocations: 34.75 kB / 0.8386 GB, free: 10.25 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.0004899/0.8319, allocations: 259.6 kB / 0.8389 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.8321, allocations: 74.34 kB / 0.839 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.8343, allocations: 0.9829 MB / 0.8399 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.8343, allocations: 7.781 kB / 0.8399 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8343, allocations: 1.781 kB / 0.8399 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.8343, allocations: 11.91 kB / 0.8399 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.8376, allocations: 1.911 MB / 0.8418 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.8376, allocations: 3.562 kB / 0.8418 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.8382, allocations: 149 kB / 0.842 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.8386, allocations: 68.03 kB / 0.842 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.8387, allocations: 23.95 kB / 0.842 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.8407, allocations: 1.667 MB / 0.8437 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8407, allocations: 0 / 0.8437 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.8426, allocations: 0.9123 MB / 0.8446 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.843, allocations: 257 kB / 0.8448 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.8431, allocations: 21.28 kB / 0.8448 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.8437, allocations: 49.05 kB / 0.8449 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.8439, allocations: 60.31 kB / 0.8449 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.8439, allocations: 28.61 kB / 0.845 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000568/0.8445, allocations: 431.9 kB / 0.8454 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8445, allocations: 0 / 0.8454 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009284/0.8454, allocations: 311.9 kB / 0.8457 GB, free: 5.242 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.001418/0.8469, allocations: 0.5868 MB / 0.8462 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.8486, allocations: 0.7718 MB / 0.847 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.8486, allocations: 0 / 0.847 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008524/0.8494, allocations: 496.2 kB / 0.8475 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.8508, allocations: 309.2 kB / 0.8478 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.8545, allocations: 1.699 MB / 0.8494 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.8552, allocations: 1.007 MB / 0.8504 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.8555, allocations: 107.4 kB / 0.8505 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/0.8555, allocations: 0 / 0.8505 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of Templates: time 0.02595/0.8814, allocations: 17.58 MB / 0.8677 GB, free: 15.22 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