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.007052/0.007052, allocations: 101 kB / 15.87 MB, free: 5.867 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.001564/0.001564, allocations: 190.9 kB / 16.79 MB, free: 5.812 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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9619/0.9619, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.67 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1788, allocations: 80.92 MB / 0.5843 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006287/0.1851, allocations: 4.204 MB / 0.5884 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5109/0.6961, allocations: 148.2 MB / 0.7332 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009422/0.6971, allocations: 19.69 kB / 0.7332 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.6977, allocations: 133.2 kB / 0.7333 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.6994, allocations: 399.8 kB / 0.7337 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.7014, allocations: 0.6996 MB / 0.7344 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.7031, allocations: 1.127 MB / 0.7355 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.7041, allocations: 0.6224 MB / 0.7361 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.7049, allocations: 383.2 kB / 0.7364 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005863/0.7055, allocations: 432.4 kB / 0.7368 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.7056, allocations: 53.72 kB / 0.7369 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.7067, allocations: 394 kB / 0.7373 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.707, allocations: 227.8 kB / 0.7375 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.7075, allocations: 460.5 kB / 0.7379 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.7088, allocations: 1.098 MB / 0.739 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7088, allocations: 0 / 0.739 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7088, allocations: 0 / 0.739 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.7089, allocations: 2.688 kB / 0.739 GB, free: 11.3 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.002444/0.7113, allocations: 1.357 MB / 0.7403 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.7114, allocations: 8.938 kB / 0.7403 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.7126, allocations: 218.2 kB / 0.7405 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.7137, allocations: 0.7167 MB / 0.7412 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.7138, allocations: 60.38 kB / 0.7413 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.7139, allocations: 80.25 kB / 0.7414 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.7157, allocations: 0.9154 MB / 0.7423 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.7158, allocations: 2.875 kB / 0.7423 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.7159, allocations: 40.44 kB / 0.7423 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.7159, allocations: 19.81 kB / 0.7423 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.7178, allocations: 1.116 MB / 0.7434 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.7219, allocations: 2.679 MB / 0.746 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.7234, allocations: 0.8513 MB / 0.7469 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.7239, allocations: 279.5 kB / 0.7471 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.267e-05/0.724, allocations: 37.45 kB / 0.7472 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008373/0.7249, allocations: 435.2 kB / 0.7476 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.455e-06/0.7249, allocations: 0 / 0.7476 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.003027/0.7279, allocations: 1.09 MB / 0.7487 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.728, allocations: 196.3 kB / 0.7488 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.7288, allocations: 0.5862 MB / 0.7494 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.7289, allocations: 37.7 kB / 0.7494 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.7292, allocations: 392.1 kB / 0.7498 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.7295, allocations: 248.4 kB / 0.7501 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.7297, allocations: 154.5 kB / 0.7502 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.7299, allocations: 378.7 kB / 0.7506 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.7304, allocations: 245.9 kB / 0.7508 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.731, allocations: 353.2 kB / 0.7511 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.7321, allocations: 0.5863 MB / 0.7517 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7321, allocations: 0 / 0.7517 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001949/0.734, allocations: 0.8058 MB / 0.7525 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7341, allocations: 4 kB / 0.7525 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.7341, allocations: 4 kB / 0.7525 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/0.7347, allocations: 84.95 kB / 0.7526 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.7354, allocations: 151.8 kB / 0.7527 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.7375, allocations: 1.529 MB / 0.7542 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/0.7382, allocations: 79.34 kB / 0.7543 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.7383, allocations: 35.97 kB / 0.7543 GB, free: 14.58 MB / 0.5762 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.0004549/0.7388, allocations: 249.7 kB / 0.7546 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.739, allocations: 75.06 kB / 0.7546 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.7412, allocations: 1.001 MB / 0.7556 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.7413, allocations: 12 kB / 0.7556 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.7413, allocations: 4 kB / 0.7556 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.7413, allocations: 3.984 kB / 0.7556 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.7446, allocations: 1.907 MB / 0.7575 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.7447, allocations: 7.922 kB / 0.7575 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.7453, allocations: 143.8 kB / 0.7577 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005071/0.7458, allocations: 76.78 kB / 0.7577 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.7459, allocations: 27.92 kB / 0.7577 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.7477, allocations: 1.537 MB / 0.7593 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7477, allocations: 3.938 kB / 0.7593 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.7497, allocations: 0.9141 MB / 0.7601 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.7501, allocations: 250.5 kB / 0.7604 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.7503, allocations: 29.09 kB / 0.7604 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.7509, allocations: 54.62 kB / 0.7605 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.751, allocations: 68.84 kB / 0.7605 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.7511, allocations: 35.92 kB / 0.7606 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005408/0.7516, allocations: 427 kB / 0.761 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7516, allocations: 0 / 0.761 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008861/0.7525, allocations: 295.3 kB / 0.7613 GB, free: 7.234 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.001355/0.7539, allocations: 0.5974 MB / 0.7618 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.7555, allocations: 0.7645 MB / 0.7626 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7555, allocations: 4.375 kB / 0.7626 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008446/0.7564, allocations: 492.3 kB / 0.7631 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7576, allocations: 278.1 kB / 0.7633 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.7617, allocations: 2.11 MB / 0.7654 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.7623, allocations: 0.9997 MB / 0.7664 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.7626, allocations: 107.4 kB / 0.7665 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.7626, allocations: 0 / 0.7665 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of Templates: time 0.02558/0.7882, allocations: 17.37 MB / 0.7834 GB, free: 0.7148 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