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.001553/0.001553, allocations: 102.2 kB / 16.27 MB, free: 6 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.001742/0.001742, allocations: 191 kB / 17.2 MB, free: 5.609 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7982/0.7982, allocations: 135.1 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3147, allocations: 80.91 MB / 0.585 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004683/0.3194, allocations: 4.193 MB / 0.5891 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1494/0.4688, allocations: 150.5 MB / 0.736 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007729/0.4696, allocations: 19.88 kB / 0.7361 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.4703, allocations: 166.5 kB / 0.7362 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.4721, allocations: 484.2 kB / 0.7367 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.474, allocations: 0.802 MB / 0.7375 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.4754, allocations: 1.206 MB / 0.7386 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009168/0.4763, allocations: 0.6373 MB / 0.7393 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.477, allocations: 450.5 kB / 0.7397 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.4775, allocations: 453.9 kB / 0.7401 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.4777, allocations: 104 kB / 0.7402 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007905/0.4785, allocations: 451.6 kB / 0.7407 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.4788, allocations: 271.1 kB / 0.7409 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.4793, allocations: 0.509 MB / 0.7414 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.4808, allocations: 1.457 MB / 0.7428 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4809, allocations: 0 / 0.7428 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4809, allocations: 0 / 0.7428 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.4809, allocations: 0 / 0.7428 GB, free: 8.391 MB / 0.5762 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.002476/0.4834, allocations: 1.358 MB / 0.7442 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4834, allocations: 9.109 kB / 0.7442 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.4847, allocations: 227.4 kB / 0.7444 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009985/0.4858, allocations: 0.7072 MB / 0.7451 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.4858, allocations: 66 kB / 0.7451 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.4859, allocations: 79.94 kB / 0.7452 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.4875, allocations: 0.9209 MB / 0.7461 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4876, allocations: 0 / 0.7461 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.4877, allocations: 36 kB / 0.7462 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.4877, allocations: 20 kB / 0.7462 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.4896, allocations: 1.112 MB / 0.7473 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.4936, allocations: 2.699 MB / 0.7499 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.4953, allocations: 0.8633 MB / 0.7507 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2596/0.7549, allocations: 270.6 kB / 0.751 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.7551, allocations: 35.61 kB / 0.751 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009148/0.756, allocations: 426.9 kB / 0.7514 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 2.956e-06/0.756, allocations: 0 / 0.7514 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.003111/0.7591, allocations: 1.085 MB / 0.7525 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.7592, allocations: 195.4 kB / 0.7527 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.7599, allocations: 0.5836 MB / 0.7533 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.7599, allocations: 42.02 kB / 0.7533 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.7602, allocations: 392.5 kB / 0.7537 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.7604, allocations: 244.7 kB / 0.7539 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.7606, allocations: 154.9 kB / 0.7541 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.7607, allocations: 386 kB / 0.7544 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.7612, allocations: 240.4 kB / 0.7546 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006111/0.7618, allocations: 346.2 kB / 0.755 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.7629, allocations: 0.5914 MB / 0.7556 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.763, allocations: 2.156 kB / 0.7556 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002051/0.765, allocations: 0.7988 MB / 0.7563 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.765, allocations: 7.062 kB / 0.7563 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7651, allocations: 2.656 kB / 0.7563 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006505/0.7657, allocations: 87.66 kB / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/0.7664, allocations: 161 kB / 0.7566 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.7684, allocations: 1.629 MB / 0.7582 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.769, allocations: 88.45 kB / 0.7583 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/0.7691, allocations: 37.81 kB / 0.7583 GB, free: 161.3 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.0003751/0.7695, allocations: 262 kB / 0.7585 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.7697, allocations: 83.97 kB / 0.7586 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.7721, allocations: 0.9787 MB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.7722, allocations: 12.84 kB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.7722, allocations: 1.219 kB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.7722, allocations: 4.25 kB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/0.7754, allocations: 1.911 MB / 0.7615 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.7754, allocations: 7.984 kB / 0.7615 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.7759, allocations: 144.2 kB / 0.7616 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.7764, allocations: 67.89 kB / 0.7617 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.7765, allocations: 25.2 kB / 0.7617 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.778, allocations: 1.665 MB / 0.7633 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.778, allocations: 0 / 0.7633 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.7797, allocations: 0.9185 MB / 0.7642 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.78, allocations: 254.3 kB / 0.7645 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.7801, allocations: 17.22 kB / 0.7645 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/0.7807, allocations: 54.34 kB / 0.7645 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.7808, allocations: 61.89 kB / 0.7646 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.7809, allocations: 30.38 kB / 0.7646 GB, free: 157 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003954/0.7813, allocations: 426.4 kB / 0.765 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7813, allocations: 0 / 0.765 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007411/0.782, allocations: 305.2 kB / 0.7653 GB, free: 156.7 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.001227/0.7833, allocations: 0.5984 MB / 0.7659 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001882/0.7852, allocations: 0.965 MB / 0.7668 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7852, allocations: 0 / 0.7668 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.7859, allocations: 489.3 kB / 0.7673 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.7871, allocations: 301.8 kB / 0.7676 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.7903, allocations: 1.73 MB / 0.7693 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.7906, allocations: 1.003 MB / 0.7703 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.7909, allocations: 110.6 kB / 0.7704 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.7909, allocations: 0 / 0.7704 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01572/0.8066, allocations: 17.38 MB / 0.7873 GB, free: 134.8 MB / 0.5762 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