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.00145/0.00145, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001583/0.001583, allocations: 187 kB / 17.34 MB, free: 5.766 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8153/0.8153, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 66.38 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1593, allocations: 80.22 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006604/0.166, allocations: 4.309 MB / 0.6645 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5523/0.7183, allocations: 150.6 MB / 0.8116 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008926/0.7192, allocations: 20.16 kB / 0.8116 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.7198, allocations: 170.7 kB / 0.8118 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.7215, allocations: 0.5079 MB / 0.8123 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.7233, allocations: 0.8281 MB / 0.8131 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.7247, allocations: 1.28 MB / 0.8143 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009195/0.7256, allocations: 0.7056 MB / 0.815 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007183/0.7264, allocations: 0.4906 MB / 0.8155 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.7269, allocations: 0.5097 MB / 0.816 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.7271, allocations: 118.4 kB / 0.8161 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/0.7279, allocations: 0.4988 MB / 0.8166 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.7282, allocations: 302.1 kB / 0.8169 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.7286, allocations: 0.5623 MB / 0.8174 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.7302, allocations: 1.644 MB / 0.819 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7303, allocations: 0 / 0.819 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7303, allocations: 0 / 0.819 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.7303, allocations: 4 kB / 0.819 GB, free: 9.719 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.002219/0.7325, allocations: 1.435 MB / 0.8204 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7326, allocations: 8.438 kB / 0.8204 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.7335, allocations: 190.5 kB / 0.8206 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009922/0.7345, allocations: 0.7667 MB / 0.8214 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.7345, allocations: 71.59 kB / 0.8214 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.7347, allocations: 92.47 kB / 0.8215 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.7363, allocations: 0.9865 MB / 0.8225 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.7364, allocations: 0 / 0.8225 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/0.7364, allocations: 42.12 kB / 0.8225 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.7365, allocations: 26.36 kB / 0.8226 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.7382, allocations: 1.159 MB / 0.8237 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/0.7431, allocations: 2.694 MB / 0.8263 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.7445, allocations: 0.7755 MB / 0.8271 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.745, allocations: 301.6 kB / 0.8274 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/0.7451, allocations: 30.09 kB / 0.8274 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007701/0.7458, allocations: 461.5 kB / 0.8278 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 1.082e-05/0.7459, allocations: 96 / 0.8278 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.002848/0.7487, allocations: 1.167 MB / 0.829 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.7488, allocations: 188.1 kB / 0.8292 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.7496, allocations: 0.6317 MB / 0.8298 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.7496, allocations: 40.42 kB / 0.8298 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.7499, allocations: 408.8 kB / 0.8302 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.7502, allocations: 274.3 kB / 0.8305 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.7504, allocations: 159.7 kB / 0.8306 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7506, allocations: 394.5 kB / 0.831 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.7511, allocations: 261 kB / 0.8312 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.7517, allocations: 359.8 kB / 0.8316 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.7527, allocations: 0.6104 MB / 0.8322 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7527, allocations: 0 / 0.8322 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001859/0.7546, allocations: 0.8417 MB / 0.833 GB, free: 320 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7546, allocations: 7.438 kB / 0.833 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7546, allocations: 5.75 kB / 0.833 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.7552, allocations: 87.58 kB / 0.8331 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.7559, allocations: 162.9 kB / 0.8333 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.7581, allocations: 1.631 MB / 0.8348 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.7588, allocations: 81.72 kB / 0.8349 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.7589, allocations: 40.75 kB / 0.835 GB, free: 14.56 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.0004934/0.7594, allocations: 278.3 kB / 0.8352 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.7595, allocations: 83.06 kB / 0.8353 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.7619, allocations: 1.079 MB / 0.8364 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.7619, allocations: 14 kB / 0.8364 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7619, allocations: 4 kB / 0.8364 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.7619, allocations: 3.984 kB / 0.8364 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.7651, allocations: 1.999 MB / 0.8383 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.7651, allocations: 0 / 0.8383 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.7658, allocations: 158.7 kB / 0.8385 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.7662, allocations: 80.77 kB / 0.8386 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.7663, allocations: 22.83 kB / 0.8386 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.7682, allocations: 1.658 MB / 0.8402 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.7682, allocations: 0 / 0.8402 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.7702, allocations: 0.9762 MB / 0.8412 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.7706, allocations: 268.1 kB / 0.8414 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.7707, allocations: 20.72 kB / 0.8414 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.7713, allocations: 61.12 kB / 0.8415 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.7714, allocations: 65.66 kB / 0.8416 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.7715, allocations: 34.61 kB / 0.8416 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005845/0.7721, allocations: 463.8 kB / 0.842 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7721, allocations: 0 / 0.842 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009883/0.7731, allocations: 323.9 kB / 0.8423 GB, free: 9.414 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.001381/0.7745, allocations: 0.6158 MB / 0.8429 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.7761, allocations: 0.8166 MB / 0.8437 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7761, allocations: 4.188 kB / 0.8437 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000872/0.777, allocations: 0.5175 MB / 0.8442 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.7782, allocations: 298.1 kB / 0.8445 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.7819, allocations: 1.846 MB / 0.8463 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.7825, allocations: 1.039 MB / 0.8473 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.7828, allocations: 115.4 kB / 0.8475 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.7828, allocations: 4 kB / 0.8475 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.0242/0.807, allocations: 18.89 MB / 0.8659 GB, free: 2.074 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