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.0007471/0.0007473, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007848/0.0007849, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.261/1.261, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8813/0.8813, allocations: 135.3 MB / 427.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 82.31 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004403/0.1358, allocations: 3.776 MB / 0.5923 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3709/0.5068, allocations: 146.6 MB / 0.7354 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.5075, allocations: 15.47 kB / 0.7355 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.5081, allocations: 143.2 kB / 0.7356 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.5097, allocations: 408.6 kB / 0.736 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.5117, allocations: 0.7052 MB / 0.7367 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.5132, allocations: 1.125 MB / 0.7378 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009642/0.5142, allocations: 0.6014 MB / 0.7384 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.5148, allocations: 319.9 kB / 0.7387 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.5154, allocations: 335.2 kB / 0.739 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.5156, allocations: 21.53 kB / 0.739 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009506/0.5166, allocations: 368.6 kB / 0.7394 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.5168, allocations: 169.9 kB / 0.7395 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.5174, allocations: 424 kB / 0.7399 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.5187, allocations: 1.073 MB / 0.741 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5187, allocations: 0 / 0.741 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5187, allocations: 0 / 0.741 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.887e-05/0.5188, allocations: 0 / 0.741 GB, free: 12.2 MB / 0.5606 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.002291/0.5211, allocations: 1.146 MB / 0.7421 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5211, allocations: 8.531 kB / 0.7421 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.5225, allocations: 241 kB / 0.7423 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.5236, allocations: 0.7114 MB / 0.743 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.5237, allocations: 67.03 kB / 0.7431 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5238, allocations: 81.41 kB / 0.7432 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.5256, allocations: 0.9298 MB / 0.7441 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.5256, allocations: 0 / 0.7441 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-05/0.5257, allocations: 37.66 kB / 0.7441 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.5257, allocations: 19.69 kB / 0.7441 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.5276, allocations: 1.137 MB / 0.7452 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/0.5317, allocations: 2.717 MB / 0.7479 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.5332, allocations: 0.8796 MB / 0.7488 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.5337, allocations: 284.3 kB / 0.749 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.5338, allocations: 33.17 kB / 0.7491 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000733/0.5346, allocations: 433.5 kB / 0.7495 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.013e-06/0.5346, allocations: 0 / 0.7495 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.003006/0.5376, allocations: 1.099 MB / 0.7505 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.5378, allocations: 197 kB / 0.7507 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.5388, allocations: 0.5854 MB / 0.7513 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.5389, allocations: 44.11 kB / 0.7513 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.5392, allocations: 392.5 kB / 0.7517 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.5395, allocations: 249.7 kB / 0.752 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5396, allocations: 61.69 kB / 0.752 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.5398, allocations: 382.7 kB / 0.7524 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.5403, allocations: 249.9 kB / 0.7526 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.5409, allocations: 353.7 kB / 0.753 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.5419, allocations: 0.594 MB / 0.7535 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5419, allocations: 0 / 0.7535 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001777/0.5437, allocations: 0.8098 MB / 0.7543 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5438, allocations: 4 kB / 0.7543 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5438, allocations: 4.547 kB / 0.7543 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/0.5444, allocations: 88.89 kB / 0.7544 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.545, allocations: 159.7 kB / 0.7546 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.547, allocations: 1.516 MB / 0.7561 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007169/0.5477, allocations: 98.2 kB / 0.7561 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.5478, allocations: 31.19 kB / 0.7562 GB, free: 380 kB / 0.5606 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.0004221/0.5482, allocations: 261.6 kB / 0.7564 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.5484, allocations: 79 kB / 0.7565 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.5506, allocations: 0.9952 MB / 0.7575 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.5506, allocations: 8 kB / 0.7575 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5506, allocations: 4 kB / 0.7575 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5506, allocations: 7.922 kB / 0.7575 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.5544, allocations: 1.919 MB / 0.7594 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.5544, allocations: 3.938 kB / 0.7594 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.555, allocations: 147.9 kB / 0.7595 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/0.5555, allocations: 88.75 kB / 0.7596 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.5556, allocations: 27.98 kB / 0.7596 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.5574, allocations: 1.54 MB / 0.7611 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5574, allocations: 0 / 0.7611 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.5593, allocations: 0.9297 MB / 0.762 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.5598, allocations: 267.7 kB / 0.7623 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.5599, allocations: 16 kB / 0.7623 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006515/0.5606, allocations: 75.88 kB / 0.7624 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5607, allocations: 60.97 kB / 0.7624 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.5608, allocations: 31.98 kB / 0.7625 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000582/0.5614, allocations: 431 kB / 0.7629 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5614, allocations: 3.938 kB / 0.7629 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009425/0.5623, allocations: 299.2 kB / 0.7632 GB, free: 8.945 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.00135/0.5637, allocations: 0.5841 MB / 0.7637 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.5653, allocations: 0.7806 MB / 0.7645 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5653, allocations: 0 / 0.7645 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008744/0.5662, allocations: 0.4885 MB / 0.765 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.5675, allocations: 265.5 kB / 0.7652 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.5716, allocations: 2.18 MB / 0.7674 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.5722, allocations: 0.9997 MB / 0.7683 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.5725, allocations: 115.4 kB / 0.7684 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.5725, allocations: 0 / 0.7684 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of Templates: time 0.02398/0.5965, allocations: 17.25 MB / 0.7853 GB, free: 2.453 MB / 0.5919 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++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-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