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.0008789/0.0008789, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009902/0.0009903, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8936/0.8936, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 9.125 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 82.31 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004579/0.155, allocations: 3.897 MB / 0.5924 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.383/0.538, allocations: 146.7 MB / 0.7357 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/0.5387, allocations: 15.34 kB / 0.7357 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.5393, allocations: 144.8 kB / 0.7358 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.5409, allocations: 436.9 kB / 0.7362 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.5428, allocations: 0.7062 MB / 0.7369 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.5444, allocations: 1.187 MB / 0.7381 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.5454, allocations: 0.6694 MB / 0.7387 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006642/0.5461, allocations: 342.2 kB / 0.7391 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006312/0.5467, allocations: 365.8 kB / 0.7394 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.5469, allocations: 27.48 kB / 0.7394 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008412/0.5477, allocations: 394.1 kB / 0.7398 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.5479, allocations: 182 kB / 0.74 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.5483, allocations: 459.1 kB / 0.7404 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.5495, allocations: 1.183 MB / 0.7416 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5495, allocations: 0 / 0.7416 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5495, allocations: 6.344 kB / 0.7416 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.5495, allocations: 0 / 0.7416 GB, free: 11.73 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.001859/0.5514, allocations: 1.214 MB / 0.7428 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.5514, allocations: 10.38 kB / 0.7428 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.5523, allocations: 201.8 kB / 0.743 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/0.5532, allocations: 0.7438 MB / 0.7437 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.5533, allocations: 71.81 kB / 0.7438 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.5534, allocations: 91.02 kB / 0.7438 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.555, allocations: 0.9905 MB / 0.7448 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.555, allocations: 1.375 kB / 0.7448 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.5551, allocations: 42.12 kB / 0.7449 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.5551, allocations: 24.5 kB / 0.7449 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.5569, allocations: 1.17 MB / 0.746 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/0.5607, allocations: 2.766 MB / 0.7487 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.5619, allocations: 0.7789 MB / 0.7495 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.5624, allocations: 305.8 kB / 0.7498 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.896e-05/0.5625, allocations: 35.94 kB / 0.7498 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007381/0.5632, allocations: 466.1 kB / 0.7503 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.024e-06/0.5632, allocations: 0 / 0.7503 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.002734/0.566, allocations: 1.172 MB / 0.7514 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.5661, allocations: 188.6 kB / 0.7516 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.5668, allocations: 0.6331 MB / 0.7522 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.5669, allocations: 41.7 kB / 0.7522 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.5671, allocations: 408.3 kB / 0.7526 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.5673, allocations: 276 kB / 0.7529 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.5674, allocations: 65.67 kB / 0.753 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5676, allocations: 386.8 kB / 0.7533 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.5681, allocations: 261.9 kB / 0.7536 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.5687, allocations: 367 kB / 0.7539 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.5698, allocations: 0.6151 MB / 0.7545 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5698, allocations: 0 / 0.7545 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001808/0.5716, allocations: 0.8527 MB / 0.7554 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5716, allocations: 4 kB / 0.7554 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.5716, allocations: 11.88 kB / 0.7554 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/0.5722, allocations: 84.83 kB / 0.7554 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.5729, allocations: 163.7 kB / 0.7556 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.575, allocations: 1.52 MB / 0.7571 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/0.5756, allocations: 95.42 kB / 0.7572 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.5757, allocations: 35.97 kB / 0.7572 GB, free: 15.3 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.0004159/0.5761, allocations: 265.6 kB / 0.7575 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5763, allocations: 86.95 kB / 0.7576 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.5786, allocations: 1.094 MB / 0.7586 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.5786, allocations: 12 kB / 0.7586 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5786, allocations: 0 / 0.7586 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5787, allocations: 7.922 kB / 0.7586 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.5817, allocations: 2.006 MB / 0.7606 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5818, allocations: 0 / 0.7606 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.5824, allocations: 167.7 kB / 0.7608 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/0.5828, allocations: 80.78 kB / 0.7608 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.5829, allocations: 25.42 kB / 0.7609 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.5846, allocations: 1.558 MB / 0.7624 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5847, allocations: 0 / 0.7624 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.5865, allocations: 0.9765 MB / 0.7633 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.5868, allocations: 291.6 kB / 0.7636 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5869, allocations: 19.94 kB / 0.7636 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/0.5875, allocations: 75.64 kB / 0.7637 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.5877, allocations: 64.91 kB / 0.7638 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.5877, allocations: 35.97 kB / 0.7638 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005563/0.5883, allocations: 467 kB / 0.7642 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5883, allocations: 0 / 0.7642 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009071/0.5892, allocations: 331.1 kB / 0.7646 GB, free: 7.531 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.001328/0.5906, allocations: 0.6189 MB / 0.7652 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.5922, allocations: 0.8154 MB / 0.766 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.5922, allocations: 4 kB / 0.766 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008527/0.5931, allocations: 0.5198 MB / 0.7665 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.5943, allocations: 263 kB / 0.7667 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.5984, allocations: 2.373 MB / 0.769 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.599, allocations: 1.047 MB / 0.7701 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.5993, allocations: 115.4 kB / 0.7702 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of SimCode: time 6.42e-07/0.5993, allocations: 0 / 0.7702 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of Templates: time 0.02365/0.6229, allocations: 18.64 MB / 0.7884 GB, free: 15.33 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