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.001158/0.001158, allocations: 108 kB / 16.41 MB, free: 6.027 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.00123/0.00123, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.222/1.222, 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.7362/0.7362, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.0011, allocations: 64.91 kB / 0.5862 GB, free: 21.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1207, allocations: 80.92 MB / 0.6653 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004952/0.1256, allocations: 4.197 MB / 0.6694 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.425/0.5506, allocations: 150.5 MB / 0.8163 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005835/0.5512, allocations: 20.25 kB / 0.8163 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.5518, allocations: 167.6 kB / 0.8165 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.553, allocations: 498.1 kB / 0.817 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.5545, allocations: 0.8043 MB / 0.8178 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008841/0.5554, allocations: 1.212 MB / 0.819 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.556, allocations: 0.6437 MB / 0.8196 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.5564, allocations: 449.4 kB / 0.82 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.5569, allocations: 466.4 kB / 0.8205 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.557, allocations: 104.2 kB / 0.8206 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.5576, allocations: 474.1 kB / 0.821 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.5578, allocations: 275.5 kB / 0.8213 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.5582, allocations: 0.5054 MB / 0.8218 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.5594, allocations: 1.493 MB / 0.8232 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.5594, allocations: 0 / 0.8232 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5594, allocations: 0 / 0.8232 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.5594, allocations: 3.984 kB / 0.8232 GB, free: 5.344 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.00178/0.5612, allocations: 1.349 MB / 0.8245 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/0.5612, allocations: 8.953 kB / 0.8245 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5623, allocations: 220.7 kB / 0.8248 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.5632, allocations: 0.7442 MB / 0.8255 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.5632, allocations: 66.5 kB / 0.8255 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.5633, allocations: 77.25 kB / 0.8256 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5647, allocations: 0.9168 MB / 0.8265 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.5647, allocations: 3.75 kB / 0.8265 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.5648, allocations: 39.67 kB / 0.8266 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5648, allocations: 19.94 kB / 0.8266 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.5664, allocations: 1.116 MB / 0.8277 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.5696, allocations: 2.643 MB / 0.8302 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.571, allocations: 0.8567 MB / 0.8311 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.5714, allocations: 283.3 kB / 0.8314 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-05/0.5715, allocations: 35.53 kB / 0.8314 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006505/0.5722, allocations: 430.1 kB / 0.8318 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 1.864e-06/0.5722, allocations: 0 / 0.8318 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.002612/0.5748, allocations: 1.087 MB / 0.8329 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.5749, allocations: 196.1 kB / 0.833 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.5755, allocations: 0.5947 MB / 0.8336 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.5755, allocations: 38.48 kB / 0.8337 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.5758, allocations: 389.6 kB / 0.834 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.5759, allocations: 246.7 kB / 0.8343 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.5761, allocations: 156.7 kB / 0.8344 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.5762, allocations: 382.4 kB / 0.8348 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.5767, allocations: 244.2 kB / 0.835 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.5772, allocations: 353.1 kB / 0.8354 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.5781, allocations: 0.5813 MB / 0.8359 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.5781, allocations: 0 / 0.8359 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001626/0.5798, allocations: 0.8034 MB / 0.8367 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5798, allocations: 11.72 kB / 0.8367 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5798, allocations: 3.188 kB / 0.8367 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005394/0.5803, allocations: 85.39 kB / 0.8368 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.5809, allocations: 151.5 kB / 0.8369 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.5829, allocations: 1.631 MB / 0.8385 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.5835, allocations: 88.42 kB / 0.8386 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.5836, allocations: 34.22 kB / 0.8387 GB, free: 10.24 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.0003386/0.5839, allocations: 253.3 kB / 0.8389 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.584, allocations: 76.12 kB / 0.839 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.586, allocations: 0.9853 MB / 0.8399 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.586, allocations: 11.25 kB / 0.8399 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5861, allocations: 2.875 kB / 0.8399 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5861, allocations: 11.91 kB / 0.84 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.5889, allocations: 1.912 MB / 0.8418 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5889, allocations: 0 / 0.8418 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.5894, allocations: 142.4 kB / 0.842 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/0.5898, allocations: 78.16 kB / 0.842 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.5899, allocations: 19.27 kB / 0.8421 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.5915, allocations: 1.666 MB / 0.8437 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5916, allocations: 0 / 0.8437 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.5932, allocations: 0.9161 MB / 0.8446 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.5935, allocations: 253.2 kB / 0.8448 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.5936, allocations: 16.84 kB / 0.8448 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.5941, allocations: 52.55 kB / 0.8449 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.5943, allocations: 63.44 kB / 0.8449 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/0.5943, allocations: 32.3 kB / 0.845 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004371/0.5948, allocations: 425.5 kB / 0.8454 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5948, allocations: 3 kB / 0.8454 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007189/0.5955, allocations: 305.6 kB / 0.8457 GB, free: 5.238 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.001172/0.5967, allocations: 0.5874 MB / 0.8462 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.5981, allocations: 0.7687 MB / 0.847 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5981, allocations: 0 / 0.847 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.5989, allocations: 0.4927 MB / 0.8475 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.6, allocations: 311.1 kB / 0.8478 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.6033, allocations: 1.7 MB / 0.8494 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.6038, allocations: 0.9994 MB / 0.8504 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.6041, allocations: 111.4 kB / 0.8505 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6041, allocations: 0 / 0.8505 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of Templates: time 0.01902/0.6231, allocations: 17.47 MB / 0.8676 GB, free: 15.39 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