Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 108.3 kB / 16.41 MB, free: 6.012 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.00127/0.00127, allocations: 183.1 kB / 17.34 MB, free: 5.629 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8618/0.8618, allocations: 135.2 MB / 426.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 59.78 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.197, allocations: 80.94 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006745/0.2038, allocations: 4.107 MB / 0.6694 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5907/0.7945, allocations: 150.9 MB / 0.8167 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.7953, allocations: 15.28 kB / 0.8167 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.7959, allocations: 165.3 kB / 0.8169 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.7974, allocations: 478.2 kB / 0.8173 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.7992, allocations: 0.7881 MB / 0.8181 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.8004, allocations: 1.173 MB / 0.8193 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006602/0.801, allocations: 448.2 kB / 0.8197 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.8015, allocations: 432 kB / 0.8201 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.802, allocations: 430.7 kB / 0.8205 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.8021, allocations: 102.2 kB / 0.8206 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008034/0.8029, allocations: 485 kB / 0.8211 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.8031, allocations: 259.5 kB / 0.8213 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.8036, allocations: 492.2 kB / 0.8218 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.8054, allocations: 1.477 MB / 0.8232 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8054, allocations: 4 kB / 0.8232 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8054, allocations: 0 / 0.8232 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.8054, allocations: 3.938 kB / 0.8232 GB, free: 5.234 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002276/0.8077, allocations: 1.348 MB / 0.8246 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8077, allocations: 11.3 kB / 0.8246 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008989/0.8086, allocations: 180.8 kB / 0.8247 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.8098, allocations: 0.7283 MB / 0.8254 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.8099, allocations: 63.22 kB / 0.8255 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.795e-05/0.81, allocations: 72.34 kB / 0.8256 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.8115, allocations: 0.8491 MB / 0.8264 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.8115, allocations: 2.562 kB / 0.8264 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.8116, allocations: 31.69 kB / 0.8264 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.8116, allocations: 17.53 kB / 0.8265 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.8132, allocations: 1.054 MB / 0.8275 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.8173, allocations: 2.339 MB / 0.8298 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.8185, allocations: 0.6714 MB / 0.8304 GB, free: 184 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.819, allocations: 241.6 kB / 0.8307 GB, free: 60 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.953e-05/0.8191, allocations: 33.52 kB / 0.8307 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000802/0.8199, allocations: 416.1 kB / 0.8311 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=71): time 2.254e-06/0.8199, allocations: 0 / 0.8311 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71): time 0.003183/0.823, allocations: 1.071 MB / 0.8321 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.8232, allocations: 188.5 kB / 0.8323 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009114/0.8241, allocations: 0.5818 MB / 0.8329 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.8242, allocations: 42.36 kB / 0.8329 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.8246, allocations: 384.4 kB / 0.8333 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.8249, allocations: 252.5 kB / 0.8335 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.8252, allocations: 149.7 kB / 0.8337 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000247/0.8255, allocations: 380.6 kB / 0.834 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.826, allocations: 225.9 kB / 0.8342 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.8266, allocations: 334.4 kB / 0.8346 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.8277, allocations: 0.5383 MB / 0.8351 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8277, allocations: 0 / 0.8351 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001862/0.8296, allocations: 0.7646 MB / 0.8358 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.8296, allocations: 8.938 kB / 0.8358 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8296, allocations: 0 / 0.8358 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.8302, allocations: 84.2 kB / 0.8359 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.8308, allocations: 144.7 kB / 0.8361 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.8331, allocations: 1.63 MB / 0.8377 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.8337, allocations: 81.67 kB / 0.8377 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.8338, allocations: 34.7 kB / 0.8378 GB, free: 10.82 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (83): * Single equations (assignments): 82 * 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.0004485/0.8343, allocations: 253.5 kB / 0.838 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.8344, allocations: 79.2 kB / 0.8381 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.8366, allocations: 0.9577 MB / 0.839 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.8366, allocations: 17.31 kB / 0.839 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.8366, allocations: 0 / 0.839 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.8366, allocations: 3.984 kB / 0.839 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.8376, allocations: 0.8155 MB / 0.8398 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8376, allocations: 0 / 0.8398 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.8382, allocations: 139 kB / 0.84 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.8386, allocations: 74.59 kB / 0.84 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/0.8386, allocations: 23.89 kB / 0.8401 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.8407, allocations: 1.664 MB / 0.8417 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8407, allocations: 0 / 0.8417 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.8424, allocations: 0.8275 MB / 0.8425 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.8428, allocations: 255.5 kB / 0.8427 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.8429, allocations: 16.59 kB / 0.8428 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.8433, allocations: 48.97 kB / 0.8428 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.8435, allocations: 63.39 kB / 0.8429 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/0.8436, allocations: 33.88 kB / 0.8429 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005267/0.8441, allocations: 425.1 kB / 0.8433 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.8441, allocations: 2.562 kB / 0.8433 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007735/0.8449, allocations: 288.8 kB / 0.8436 GB, free: 6.594 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001894/0.8468, allocations: 0.6017 MB / 0.8442 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.8483, allocations: 0.7179 MB / 0.8449 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8483, allocations: 0 / 0.8449 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008322/0.8491, allocations: 457.7 kB / 0.8453 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.8502, allocations: 290.4 kB / 0.8456 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.8539, allocations: 1.689 MB / 0.8472 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.8547, allocations: 0.9915 MB / 0.8482 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.855, allocations: 107.4 kB / 0.8483 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.855, allocations: 0 / 0.8483 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of Templates: time 0.02508/0.88, allocations: 17.04 MB / 0.8649 GB, free: 2.164 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicFunctions.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.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.o] Error 1