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.001182/0.001182, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001154/0.001154, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.212/1.212, allocations: 222.9 MB / 241.1 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.7268/0.7268, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 62.47 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1315, allocations: 80.93 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005495/0.137, allocations: 4.317 MB / 0.6695 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4617/0.5987, allocations: 150.6 MB / 0.8166 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.5994, allocations: 26.03 kB / 0.8166 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.6001, allocations: 172.4 kB / 0.8168 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.6017, allocations: 0.4977 MB / 0.8172 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.6036, allocations: 0.8309 MB / 0.818 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.6049, allocations: 1.279 MB / 0.8193 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.6057, allocations: 0.705 MB / 0.82 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.6061, allocations: 0.4927 MB / 0.8205 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.6066, allocations: 0.5059 MB / 0.821 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.6067, allocations: 118.2 kB / 0.8211 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007097/0.6074, allocations: 0.5047 MB / 0.8216 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.6076, allocations: 297.6 kB / 0.8219 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.608, allocations: 0.5579 MB / 0.8224 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.6094, allocations: 1.653 MB / 0.824 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6095, allocations: 0 / 0.824 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6095, allocations: 0 / 0.824 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.6095, allocations: 0 / 0.824 GB, free: 4.762 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.00192/0.6114, allocations: 1.438 MB / 0.8254 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.6114, allocations: 16.78 kB / 0.8254 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/0.6122, allocations: 191 kB / 0.8256 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.6132, allocations: 0.7598 MB / 0.8264 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.6132, allocations: 67.47 kB / 0.8264 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.6134, allocations: 96.61 kB / 0.8265 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6148, allocations: 0.9862 MB / 0.8275 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6148, allocations: 0 / 0.8275 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.6149, allocations: 42.75 kB / 0.8275 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.6149, allocations: 22.22 kB / 0.8275 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.6165, allocations: 1.163 MB / 0.8287 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.62, allocations: 2.696 MB / 0.8313 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.6211, allocations: 0.7699 MB / 0.8321 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.6216, allocations: 301.8 kB / 0.8323 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.397e-05/0.6217, allocations: 35.72 kB / 0.8324 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006949/0.6224, allocations: 461.6 kB / 0.8328 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.084e-06/0.6224, allocations: 3.938 kB / 0.8328 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.002606/0.625, allocations: 1.156 MB / 0.834 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/0.6251, allocations: 188.3 kB / 0.8341 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.6257, allocations: 0.6313 MB / 0.8347 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.6258, allocations: 42.58 kB / 0.8348 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.626, allocations: 414.2 kB / 0.8352 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.6262, allocations: 269.2 kB / 0.8354 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.6264, allocations: 165 kB / 0.8356 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6266, allocations: 388.3 kB / 0.836 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.6271, allocations: 260.5 kB / 0.8362 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.6276, allocations: 355.9 kB / 0.8366 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/0.6286, allocations: 0.6178 MB / 0.8372 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.6286, allocations: 0 / 0.8372 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00165/0.6303, allocations: 0.8438 MB / 0.838 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6303, allocations: 5.719 kB / 0.838 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6303, allocations: 1.641 kB / 0.838 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.6308, allocations: 89.39 kB / 0.8381 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.6314, allocations: 160.8 kB / 0.8382 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.6333, allocations: 1.63 MB / 0.8398 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.6339, allocations: 82.7 kB / 0.8399 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.6339, allocations: 39.09 kB / 0.8399 GB, free: 9.531 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.0003407/0.6343, allocations: 267.8 kB / 0.8402 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.6344, allocations: 80.72 kB / 0.8403 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.6368, allocations: 1.087 MB / 0.8413 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6368, allocations: 13.59 kB / 0.8413 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6368, allocations: 3.281 kB / 0.8413 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6368, allocations: 3.984 kB / 0.8413 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.6399, allocations: 1.996 MB / 0.8433 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.6399, allocations: 0 / 0.8433 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/0.6405, allocations: 159 kB / 0.8435 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.6409, allocations: 70.75 kB / 0.8435 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.641, allocations: 26.77 kB / 0.8435 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.6427, allocations: 1.669 MB / 0.8452 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6427, allocations: 0 / 0.8452 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.6444, allocations: 0.9734 MB / 0.8461 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.6448, allocations: 271.9 kB / 0.8464 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.6449, allocations: 16.81 kB / 0.8464 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.6454, allocations: 58.69 kB / 0.8465 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.6455, allocations: 65.81 kB / 0.8465 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/0.6456, allocations: 30.52 kB / 0.8465 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00051/0.6461, allocations: 463 kB / 0.847 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6461, allocations: 4 kB / 0.847 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008342/0.647, allocations: 327.1 kB / 0.8473 GB, free: 4.035 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.001275/0.6482, allocations: 0.6169 MB / 0.8479 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.6498, allocations: 0.8206 MB / 0.8487 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6498, allocations: 0 / 0.8487 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008243/0.6506, allocations: 0.5196 MB / 0.8492 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6517, allocations: 295.9 kB / 0.8495 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.6552, allocations: 1.838 MB / 0.8513 GB, free: 96 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.6558, allocations: 1.043 MB / 0.8523 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.6561, allocations: 119.4 kB / 0.8524 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.6561, allocations: 3.938 kB / 0.8524 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of Templates: time 0.0205/0.6766, allocations: 18.88 MB / 0.8709 GB, free: 12.04 MB / 0.6387 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