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.001378/0.001378, allocations: 103.3 kB / 16.46 MB, free: 6.586 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.001371/0.001371, allocations: 190.9 kB / 17.4 MB, free: 5.727 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.425/1.425, allocations: 225.6 MB / 243.8 MB, free: 14.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8651/0.8651, allocations: 137 MB / 433.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 64.16 kB / 0.6022 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1589, allocations: 85.44 MB / 0.6856 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006185/0.1651, allocations: 4.193 MB / 0.6897 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6015/0.7667, allocations: 151 MB / 0.8371 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009625/0.7676, allocations: 21.5 kB / 0.8372 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.7685, allocations: 175.2 kB / 0.8373 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.771, allocations: 490.4 kB / 0.8378 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.7734, allocations: 0.8038 MB / 0.8386 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.7752, allocations: 1.214 MB / 0.8398 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.7763, allocations: 476.3 kB / 0.8402 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008805/0.7772, allocations: 453.9 kB / 0.8407 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009153/0.7781, allocations: 461.5 kB / 0.8411 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.7784, allocations: 102.8 kB / 0.8412 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.7796, allocations: 481 kB / 0.8416 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.78, allocations: 271.3 kB / 0.8419 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008314/0.7809, allocations: 0.5081 MB / 0.8424 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.7835, allocations: 1.509 MB / 0.8439 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7835, allocations: 0 / 0.8439 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7835, allocations: 0 / 0.8439 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.052e-05/0.7835, allocations: 0 / 0.8439 GB, free: 3.023 MB / 0.6075 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.003469/0.787, allocations: 1.381 MB / 0.8452 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.787, allocations: 11.67 kB / 0.8452 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.7885, allocations: 238.6 kB / 0.8455 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.7899, allocations: 0.7369 MB / 0.8462 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.79, allocations: 63.31 kB / 0.8462 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.692e-05/0.7901, allocations: 77.16 kB / 0.8463 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.7918, allocations: 0.9233 MB / 0.8472 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.7918, allocations: 0 / 0.8472 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.7919, allocations: 31.91 kB / 0.8472 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.7919, allocations: 24 kB / 0.8473 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.7937, allocations: 1.115 MB / 0.8484 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.798, allocations: 2.653 MB / 0.851 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.7995, allocations: 0.8046 MB / 0.8517 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.8, allocations: 255.7 kB / 0.852 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.293e-05/0.8001, allocations: 36.47 kB / 0.852 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007805/0.8009, allocations: 433 kB / 0.8524 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.675e-06/0.8009, allocations: 4 kB / 0.8524 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.003146/0.804, allocations: 1.085 MB / 0.8535 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.8042, allocations: 192.6 kB / 0.8537 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.805, allocations: 0.6017 MB / 0.8543 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/0.8051, allocations: 37.7 kB / 0.8543 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.8054, allocations: 392.9 kB / 0.8547 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.8057, allocations: 269.8 kB / 0.8549 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.8059, allocations: 154.6 kB / 0.8551 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.8061, allocations: 386.7 kB / 0.8554 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.8066, allocations: 237.9 kB / 0.8557 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.8072, allocations: 353.6 kB / 0.856 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.8084, allocations: 0.5824 MB / 0.8566 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8084, allocations: 5.062 kB / 0.8566 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001995/0.8104, allocations: 0.8023 MB / 0.8574 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.8104, allocations: 8 kB / 0.8574 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8104, allocations: 0 / 0.8574 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/0.811, allocations: 84.72 kB / 0.8575 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.8118, allocations: 155.8 kB / 0.8576 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.8141, allocations: 1.641 MB / 0.8592 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007353/0.8149, allocations: 87.47 kB / 0.8593 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.815, allocations: 27.98 kB / 0.8593 GB, free: 5.535 MB / 0.6231 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.0004871/0.8154, allocations: 265.7 kB / 0.8596 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.8156, allocations: 79.48 kB / 0.8596 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.8179, allocations: 0.9813 MB / 0.8606 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.8179, allocations: 12.08 kB / 0.8606 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.8179, allocations: 0 / 0.8606 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.818, allocations: 7.922 kB / 0.8606 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.8215, allocations: 1.912 MB / 0.8625 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8215, allocations: 0 / 0.8625 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.8221, allocations: 143.8 kB / 0.8626 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.8226, allocations: 68.8 kB / 0.8627 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.8226, allocations: 23.98 kB / 0.8627 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.8248, allocations: 1.662 MB / 0.8643 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8248, allocations: 3.938 kB / 0.8643 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.8268, allocations: 0.9243 MB / 0.8652 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.8273, allocations: 256.3 kB / 0.8655 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.8274, allocations: 16 kB / 0.8655 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.828, allocations: 64 kB / 0.8656 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.8282, allocations: 60.91 kB / 0.8656 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.8282, allocations: 27.98 kB / 0.8657 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006148/0.8289, allocations: 427.1 kB / 0.8661 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8289, allocations: 0 / 0.8661 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009468/0.8298, allocations: 303.2 kB / 0.8663 GB, free: 14.06 MB / 0.6387 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.001987/0.8318, allocations: 0.595 MB / 0.8669 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.8336, allocations: 0.7506 MB / 0.8677 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8336, allocations: 0 / 0.8677 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008626/0.8344, allocations: 460.3 kB / 0.8681 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8357, allocations: 309.6 kB / 0.8684 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.8397, allocations: 1.739 MB / 0.8701 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.8404, allocations: 1.007 MB / 0.8711 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.8407, allocations: 107.4 kB / 0.8712 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/0.8407, allocations: 0 / 0.8712 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of Templates: time 0.02855/0.8693, allocations: 17.49 MB / 0.8883 GB, free: 7.77 MB / 0.6544 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