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.001142/0.001143, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9497/0.9497, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 68.42 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1854, allocations: 80.93 MB / 0.5843 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.0061/0.1915, allocations: 4.316 MB / 0.5886 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5852/0.7767, allocations: 148.3 MB / 0.7334 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.778, allocations: 15.66 kB / 0.7334 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.7789, allocations: 138.8 kB / 0.7335 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.7811, allocations: 426.9 kB / 0.7339 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.7836, allocations: 0.7186 MB / 0.7346 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.7853, allocations: 1.189 MB / 0.7358 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.7864, allocations: 0.6807 MB / 0.7364 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000698/0.7871, allocations: 438.3 kB / 0.7369 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005818/0.7877, allocations: 478.8 kB / 0.7373 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.7879, allocations: 63.59 kB / 0.7374 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.7892, allocations: 430.8 kB / 0.7378 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.7895, allocations: 251.6 kB / 0.738 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.79, allocations: 0.5011 MB / 0.7385 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.7913, allocations: 1.209 MB / 0.7397 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.7913, allocations: 3.984 kB / 0.7397 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.737e-06/0.7913, allocations: 0 / 0.7397 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.7913, allocations: 3.938 kB / 0.7397 GB, free: 10.77 MB / 0.5606 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.002521/0.7939, allocations: 1.437 MB / 0.7411 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.7939, allocations: 8.344 kB / 0.7411 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.7948, allocations: 188.8 kB / 0.7413 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.796, allocations: 0.7538 MB / 0.742 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.796, allocations: 68.16 kB / 0.7421 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.7962, allocations: 92.5 kB / 0.7422 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.7979, allocations: 0.9892 MB / 0.7432 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.798, allocations: 1.375 kB / 0.7432 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/0.798, allocations: 36.25 kB / 0.7432 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.7981, allocations: 23.38 kB / 0.7432 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.7999, allocations: 1.17 MB / 0.7444 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.8042, allocations: 2.731 MB / 0.747 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.8055, allocations: 0.7672 MB / 0.7478 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.8061, allocations: 299.7 kB / 0.7481 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.8062, allocations: 36.28 kB / 0.7481 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008977/0.8071, allocations: 453.2 kB / 0.7485 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.444e-06/0.8071, allocations: 0 / 0.7485 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.0031/0.8102, allocations: 1.157 MB / 0.7497 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.8103, allocations: 188.6 kB / 0.7498 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.8111, allocations: 0.6331 MB / 0.7505 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.8112, allocations: 45.7 kB / 0.7505 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.8116, allocations: 416.1 kB / 0.7509 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.8118, allocations: 268.1 kB / 0.7512 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.8121, allocations: 162.4 kB / 0.7513 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.8122, allocations: 386.7 kB / 0.7517 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.8128, allocations: 269.5 kB / 0.7519 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.8134, allocations: 359.1 kB / 0.7523 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.8145, allocations: 0.6033 MB / 0.7529 GB, free: 312 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8145, allocations: 4 kB / 0.7529 GB, free: 308 kB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001992/0.8165, allocations: 0.8451 MB / 0.7537 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.8166, allocations: 7.938 kB / 0.7537 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8166, allocations: 0 / 0.7537 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/0.8172, allocations: 88.72 kB / 0.7538 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.8179, allocations: 163.8 kB / 0.7539 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.8201, allocations: 1.523 MB / 0.7554 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.8209, allocations: 89.17 kB / 0.7555 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.821, allocations: 35.97 kB / 0.7555 GB, free: 13.41 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.0005456/0.8215, allocations: 265.6 kB / 0.7558 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.8217, allocations: 79 kB / 0.7559 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.8242, allocations: 1.091 MB / 0.7569 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.8243, allocations: 11.94 kB / 0.757 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.8243, allocations: 0 / 0.757 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.8243, allocations: 3.984 kB / 0.757 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.8278, allocations: 2.004 MB / 0.7589 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8278, allocations: 0 / 0.7589 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.8284, allocations: 163.4 kB / 0.7591 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/0.829, allocations: 80.77 kB / 0.7591 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.829, allocations: 27.98 kB / 0.7592 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.831, allocations: 1.544 MB / 0.7607 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8311, allocations: 0 / 0.7607 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.8332, allocations: 0.9725 MB / 0.7616 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.8337, allocations: 267.7 kB / 0.7619 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.8338, allocations: 31.92 kB / 0.7619 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.8344, allocations: 51.95 kB / 0.762 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.8345, allocations: 60.91 kB / 0.762 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.8346, allocations: 39.97 kB / 0.7621 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000641/0.8353, allocations: 459 kB / 0.7625 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.986e-06/0.8353, allocations: 0 / 0.7625 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001159/0.8365, allocations: 335.1 kB / 0.7628 GB, free: 5.715 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.001538/0.838, allocations: 0.6088 MB / 0.7634 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.8398, allocations: 0.8232 MB / 0.7642 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8398, allocations: 0 / 0.7642 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.8408, allocations: 0.512 MB / 0.7647 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.842, allocations: 262.4 kB / 0.765 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.8465, allocations: 2.307 MB / 0.7672 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/0.8472, allocations: 1.043 MB / 0.7682 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.8475, allocations: 115.4 kB / 0.7683 GB, free: 200 kB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.8476, allocations: 0 / 0.7683 GB, free: 200 kB / 0.5762 GB Notification: Performance of Templates: time 0.02661/0.8742, allocations: 18.78 MB / 0.7867 GB, free: 13.46 MB / 0.6075 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++14 -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