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.001331/0.001331, allocations: 104.2 kB / 15.99 MB, free: 5.891 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.001192/0.001192, allocations: 192.7 kB / 16.91 MB, free: 5.746 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.747/0.747, allocations: 132.2 MB / 422.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.88 kB / 0.5019 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4601, allocations: 80.2 MB / 0.5802 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00556/0.4657, allocations: 4.34 MB / 0.5845 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1549/0.6206, allocations: 148.4 MB / 0.7293 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009305/0.6216, allocations: 19.88 kB / 0.7293 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.6222, allocations: 127 kB / 0.7295 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.6239, allocations: 447.2 kB / 0.7299 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.6259, allocations: 0.7507 MB / 0.7306 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.6273, allocations: 1.266 MB / 0.7319 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.6282, allocations: 0.7064 MB / 0.7326 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.6289, allocations: 0.4904 MB / 0.733 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.6294, allocations: 0.4939 MB / 0.7335 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.6296, allocations: 120 kB / 0.7336 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000897/0.6305, allocations: 483.6 kB / 0.7341 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.6307, allocations: 318.9 kB / 0.7344 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.6312, allocations: 0.5595 MB / 0.7349 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.6326, allocations: 1.232 MB / 0.7361 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6326, allocations: 0 / 0.7361 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6326, allocations: 0 / 0.7361 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.6326, allocations: 4 kB / 0.7361 GB, free: 1.477 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.002304/0.635, allocations: 1.432 MB / 0.7375 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.635, allocations: 8.031 kB / 0.7376 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008985/0.6359, allocations: 195.3 kB / 0.7377 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009193/0.6368, allocations: 0.746 MB / 0.7385 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.6369, allocations: 70 kB / 0.7385 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.637, allocations: 88 kB / 0.7386 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6386, allocations: 0.9847 MB / 0.7396 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.6386, allocations: 4 kB / 0.7396 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.6387, allocations: 40 kB / 0.7396 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.6387, allocations: 28 kB / 0.7397 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.6404, allocations: 1.163 MB / 0.7408 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.6447, allocations: 2.741 MB / 0.7435 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.6462, allocations: 0.7744 MB / 0.7442 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.6467, allocations: 298.7 kB / 0.7445 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/0.6468, allocations: 36.58 kB / 0.7445 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009303/0.6478, allocations: 467.3 kB / 0.745 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.314e-06/0.6478, allocations: 0 / 0.745 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003017/0.6508, allocations: 1.144 MB / 0.7461 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.6509, allocations: 196.6 kB / 0.7463 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.6516, allocations: 0.6253 MB / 0.7469 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.6517, allocations: 41.7 kB / 0.7469 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.652, allocations: 420.1 kB / 0.7473 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.6522, allocations: 268.1 kB / 0.7476 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.6525, allocations: 170.4 kB / 0.7478 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6526, allocations: 386.8 kB / 0.7481 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.6531, allocations: 261.8 kB / 0.7484 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.6537, allocations: 351.1 kB / 0.7487 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.6547, allocations: 0.6151 MB / 0.7493 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6548, allocations: 0 / 0.7493 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001892/0.6566, allocations: 0.8372 MB / 0.7501 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6567, allocations: 13.66 kB / 0.7501 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6567, allocations: 3.938 kB / 0.7501 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.6573, allocations: 84.78 kB / 0.7502 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.658, allocations: 163.8 kB / 0.7504 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.6603, allocations: 1.627 MB / 0.752 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.6611, allocations: 87.23 kB / 0.7521 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.6612, allocations: 35.97 kB / 0.7521 GB, free: 0.6289 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.0004525/0.6616, allocations: 269.6 kB / 0.7523 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.6618, allocations: 86.91 kB / 0.7524 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.6642, allocations: 1.093 MB / 0.7535 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6642, allocations: 11.98 kB / 0.7535 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6642, allocations: 4 kB / 0.7535 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6642, allocations: 3.984 kB / 0.7535 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/0.6674, allocations: 1.993 MB / 0.7555 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6674, allocations: 0 / 0.7555 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.668, allocations: 163.8 kB / 0.7556 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.6685, allocations: 68.8 kB / 0.7557 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.6686, allocations: 23.98 kB / 0.7557 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.6704, allocations: 1.67 MB / 0.7573 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6704, allocations: 0 / 0.7573 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.6724, allocations: 0.9688 MB / 0.7583 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.6727, allocations: 263.7 kB / 0.7585 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.6729, allocations: 27.92 kB / 0.7586 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.6735, allocations: 51.95 kB / 0.7586 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.6736, allocations: 68.84 kB / 0.7587 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.6737, allocations: 35.97 kB / 0.7587 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005544/0.6743, allocations: 463 kB / 0.7592 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6743, allocations: 0 / 0.7592 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009697/0.6752, allocations: 335.1 kB / 0.7595 GB, free: 8.793 MB / 0.5919 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.001419/0.6767, allocations: 0.6135 MB / 0.7601 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002365/0.6791, allocations: 1.03 MB / 0.7611 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6791, allocations: 0 / 0.7611 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008379/0.6799, allocations: 0.5121 MB / 0.7616 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.6812, allocations: 284.6 kB / 0.7618 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.6851, allocations: 2.303 MB / 0.7641 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.6857, allocations: 1.043 MB / 0.7651 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.686, allocations: 123.4 kB / 0.7652 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.686, allocations: 0 / 0.7652 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of Templates: time 0.02246/0.7085, allocations: 18.78 MB / 0.7836 GB, free: 364 kB / 0.6075 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++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/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