Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001197/0.001197, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.00112/0.00112, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7864/0.7864, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.19 kB / 0.582 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.177, allocations: 80.22 MB / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006632/0.1837, allocations: 4.316 MB / 0.6645 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5637/0.7474, allocations: 150.6 MB / 0.8116 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008234/0.7482, allocations: 20.47 kB / 0.8116 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007177/0.749, allocations: 173.5 kB / 0.8118 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.7509, allocations: 0.5012 MB / 0.8123 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.7531, allocations: 0.8209 MB / 0.8131 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.7546, allocations: 1.279 MB / 0.8143 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.7557, allocations: 0.7054 MB / 0.815 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007877/0.7565, allocations: 0.489 MB / 0.8155 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.7573, allocations: 0.5087 MB / 0.816 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.7577, allocations: 123.5 kB / 0.8161 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.7588, allocations: 0.4927 MB / 0.8166 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.7593, allocations: 308.5 kB / 0.8169 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.7601, allocations: 0.5568 MB / 0.8174 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.7623, allocations: 1.646 MB / 0.819 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7623, allocations: 0 / 0.819 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7624, allocations: 2.375 kB / 0.819 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.179e-05/0.7624, allocations: 0 / 0.819 GB, free: 9.637 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003102/0.7655, allocations: 1.433 MB / 0.8204 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7656, allocations: 14.34 kB / 0.8204 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009586/0.7665, allocations: 192.6 kB / 0.8206 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.7677, allocations: 0.7657 MB / 0.8214 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.7677, allocations: 71.12 kB / 0.8214 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.7678, allocations: 90.53 kB / 0.8215 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.7694, allocations: 0.9887 MB / 0.8225 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.7694, allocations: 0 / 0.8225 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.7695, allocations: 46.19 kB / 0.8225 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.7696, allocations: 22.44 kB / 0.8226 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.7712, allocations: 1.159 MB / 0.8237 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.7752, allocations: 2.696 MB / 0.8263 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.7765, allocations: 0.7738 MB / 0.8271 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.777, allocations: 305 kB / 0.8274 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.002e-05/0.7771, allocations: 33.12 kB / 0.8274 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/0.7778, allocations: 461.7 kB / 0.8278 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.174e-06/0.7778, allocations: 0 / 0.8278 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.002851/0.7807, allocations: 1.154 MB / 0.829 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.7808, allocations: 194.6 kB / 0.8292 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007061/0.7815, allocations: 0.6313 MB / 0.8298 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.7816, allocations: 42.45 kB / 0.8298 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.7819, allocations: 409.2 kB / 0.8302 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.7821, allocations: 270.2 kB / 0.8305 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.7823, allocations: 166.4 kB / 0.8306 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7825, allocations: 384.8 kB / 0.831 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.783, allocations: 268.3 kB / 0.8312 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/0.7835, allocations: 354.4 kB / 0.8316 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.7847, allocations: 0.6142 MB / 0.8322 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.7847, allocations: 0 / 0.8322 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001988/0.7867, allocations: 0.8414 MB / 0.833 GB, free: 232 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.7868, allocations: 5.438 kB / 0.833 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7868, allocations: 2.375 kB / 0.833 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.7874, allocations: 91.2 kB / 0.8331 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.7881, allocations: 163.3 kB / 0.8332 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.7902, allocations: 1.626 MB / 0.8348 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.7908, allocations: 90.3 kB / 0.8349 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.7909, allocations: 33.67 kB / 0.835 GB, free: 14.47 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 (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.0004447/0.7914, allocations: 277.9 kB / 0.8352 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.7915, allocations: 80.88 kB / 0.8353 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.7939, allocations: 1.083 MB / 0.8364 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.7939, allocations: 19.72 kB / 0.8364 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.794, allocations: 0 / 0.8364 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.794, allocations: 5.797 kB / 0.8364 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/0.7974, allocations: 1.998 MB / 0.8383 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7974, allocations: 0 / 0.8383 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/0.798, allocations: 160.5 kB / 0.8385 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.7985, allocations: 74.5 kB / 0.8386 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.7985, allocations: 23.61 kB / 0.8386 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.8004, allocations: 1.652 MB / 0.8402 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8004, allocations: 7.922 kB / 0.8402 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.8023, allocations: 0.9744 MB / 0.8411 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.8027, allocations: 266.8 kB / 0.8414 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.8029, allocations: 24.84 kB / 0.8414 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.8035, allocations: 52.38 kB / 0.8415 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.8037, allocations: 70.09 kB / 0.8415 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.8038, allocations: 36.14 kB / 0.8416 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005829/0.8044, allocations: 463.5 kB / 0.842 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8044, allocations: 0 / 0.842 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009433/0.8053, allocations: 328.2 kB / 0.8423 GB, free: 9.32 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.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.001438/0.8068, allocations: 0.617 MB / 0.8429 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.8085, allocations: 0.8174 MB / 0.8437 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8085, allocations: 2.031 kB / 0.8437 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009526/0.8095, allocations: 0.5173 MB / 0.8442 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8107, allocations: 288.5 kB / 0.8445 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.8148, allocations: 1.854 MB / 0.8463 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.8155, allocations: 1.035 MB / 0.8473 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.8158, allocations: 115.4 kB / 0.8474 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.8158, allocations: 0 / 0.8474 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.02673/0.8426, allocations: 19.04 MB / 0.866 GB, free: 1.871 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuthCalcHelperMain.o] Error 1