Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001603/0.001603, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7971/0.7971, allocations: 135.2 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 59.91 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3065, allocations: 80.91 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004851/0.3113, allocations: 4.311 MB / 0.5893 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1583/0.4696, allocations: 150.6 MB / 0.7363 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000749/0.4704, allocations: 15.94 kB / 0.7363 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.471, allocations: 178.3 kB / 0.7365 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.4728, allocations: 0.499 MB / 0.737 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.4747, allocations: 0.8183 MB / 0.7378 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.4761, allocations: 1.269 MB / 0.739 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009371/0.477, allocations: 0.7103 MB / 0.7397 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.4776, allocations: 494.2 kB / 0.7402 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.4781, allocations: 0.4978 MB / 0.7407 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.4783, allocations: 123.9 kB / 0.7408 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.4791, allocations: 483.6 kB / 0.7413 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.4794, allocations: 303 kB / 0.7416 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.4799, allocations: 0.5556 MB / 0.7421 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.4816, allocations: 1.616 MB / 0.7437 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4816, allocations: 0 / 0.7437 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4816, allocations: 0 / 0.7437 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.4816, allocations: 0 / 0.7437 GB, free: 7.551 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002208/0.4838, allocations: 1.436 MB / 0.7451 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.4839, allocations: 9.109 kB / 0.7451 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008807/0.4848, allocations: 191.3 kB / 0.7453 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.4857, allocations: 0.7421 MB / 0.746 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.4858, allocations: 70 kB / 0.7461 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.4859, allocations: 96 kB / 0.7462 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.4875, allocations: 0.9847 MB / 0.7471 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4875, allocations: 3.938 kB / 0.7471 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.4876, allocations: 36 kB / 0.7472 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.4877, allocations: 24 kB / 0.7472 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.4895, allocations: 1.163 MB / 0.7483 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2482/0.7377, allocations: 2.735 MB / 0.751 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.7393, allocations: 0.7706 MB / 0.7517 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.7398, allocations: 301.7 kB / 0.752 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-05/0.7399, allocations: 36.06 kB / 0.7521 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008063/0.7407, allocations: 462.8 kB / 0.7525 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.385e-06/0.7407, allocations: 0.625 kB / 0.7525 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.002996/0.7437, allocations: 1.151 MB / 0.7536 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.7438, allocations: 195.2 kB / 0.7538 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.7446, allocations: 0.6244 MB / 0.7544 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.7447, allocations: 42.92 kB / 0.7545 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.745, allocations: 414.8 kB / 0.7549 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.7451, allocations: 268.5 kB / 0.7551 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.7454, allocations: 162.6 kB / 0.7553 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7455, allocations: 384.3 kB / 0.7556 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.746, allocations: 263.4 kB / 0.7559 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.7467, allocations: 352.8 kB / 0.7562 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.7478, allocations: 0.6119 MB / 0.7568 GB, free: 162 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7478, allocations: 1.688 kB / 0.7568 GB, free: 162 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002026/0.7498, allocations: 0.846 MB / 0.7576 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7499, allocations: 7.719 kB / 0.7577 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7499, allocations: 4.688 kB / 0.7577 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/0.7505, allocations: 89.8 kB / 0.7577 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.7512, allocations: 161.3 kB / 0.7579 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.753, allocations: 1.634 MB / 0.7595 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.7537, allocations: 91.53 kB / 0.7596 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/0.7538, allocations: 38.28 kB / 0.7596 GB, free: 160 MB / 0.5762 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 (93): * Single equations (assignments): 92 * 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.0004243/0.7542, allocations: 265.3 kB / 0.7599 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.7544, allocations: 78.34 kB / 0.7599 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.7568, allocations: 1.097 MB / 0.761 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.7568, allocations: 9.219 kB / 0.761 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7568, allocations: 0.9844 kB / 0.761 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.7568, allocations: 7.781 kB / 0.761 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.7596, allocations: 1.999 MB / 0.763 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.7597, allocations: 0 / 0.763 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.7602, allocations: 154.7 kB / 0.7631 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.7607, allocations: 76.81 kB / 0.7632 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.7607, allocations: 23.67 kB / 0.7632 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.7621, allocations: 1.658 MB / 0.7648 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7622, allocations: 1 kB / 0.7648 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.7637, allocations: 0.9701 MB / 0.7658 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.764, allocations: 273.4 kB / 0.7661 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7641, allocations: 26.69 kB / 0.7661 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.7647, allocations: 60.59 kB / 0.7661 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.7648, allocations: 73.09 kB / 0.7662 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.7649, allocations: 29.11 kB / 0.7662 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004555/0.7653, allocations: 464 kB / 0.7667 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7653, allocations: 0 / 0.7667 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007252/0.7661, allocations: 330.2 kB / 0.767 GB, free: 155.1 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 (94): * Single equations (assignments): 91 * 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.001678/0.7678, allocations: 0.6217 MB / 0.7676 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.7697, allocations: 1.026 MB / 0.7686 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7697, allocations: 0 / 0.7686 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007049/0.7704, allocations: 0.5154 MB / 0.7691 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.7715, allocations: 289.1 kB / 0.7694 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.7746, allocations: 1.862 MB / 0.7712 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.7749, allocations: 1.043 MB / 0.7722 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.7752, allocations: 115.4 kB / 0.7723 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.7752, allocations: 0 / 0.7723 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.01645/0.7916, allocations: 18.79 MB / 0.7907 GB, free: 131.2 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthFunctions.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.o] Error 1