Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 100.1 kB / 15.88 MB, free: 8 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.002294/0.002294, allocations: 199.3 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9976/0.9976, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.66 kB / 0.5053 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1877, allocations: 80.93 MB / 0.5844 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005792/0.1935, allocations: 4.052 MB / 0.5883 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5954/0.7889, allocations: 148.1 MB / 0.733 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009027/0.7899, allocations: 15.81 kB / 0.733 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.7905, allocations: 135.9 kB / 0.7331 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.7921, allocations: 398.7 kB / 0.7335 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.7942, allocations: 0.6738 MB / 0.7341 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.7956, allocations: 1.074 MB / 0.7352 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.7967, allocations: 0.5736 MB / 0.7357 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006791/0.7974, allocations: 367.4 kB / 0.7361 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.7979, allocations: 402.8 kB / 0.7365 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.798, allocations: 49.88 kB / 0.7365 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.7991, allocations: 391.1 kB / 0.7369 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.7993, allocations: 215.2 kB / 0.7371 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004368/0.7998, allocations: 437.7 kB / 0.7375 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.8011, allocations: 1.072 MB / 0.7386 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.8011, allocations: 0 / 0.7386 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8011, allocations: 0 / 0.7386 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.8011, allocations: 0 / 0.7386 GB, free: 11.7 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002397/0.8035, allocations: 1.311 MB / 0.7399 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8036, allocations: 10.75 kB / 0.7399 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/0.8045, allocations: 172.3 kB / 0.74 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.8055, allocations: 0.6967 MB / 0.7407 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.8056, allocations: 62 kB / 0.7408 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/0.8057, allocations: 74.31 kB / 0.7408 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.8073, allocations: 0.8448 MB / 0.7417 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.8073, allocations: 0 / 0.7417 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.8074, allocations: 32.38 kB / 0.7417 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.8074, allocations: 19.69 kB / 0.7417 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.8092, allocations: 1.04 MB / 0.7427 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.8129, allocations: 2.329 MB / 0.745 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.8142, allocations: 0.7753 MB / 0.7458 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.8147, allocations: 266.4 kB / 0.746 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-05/0.8148, allocations: 34.17 kB / 0.746 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008227/0.8156, allocations: 415.2 kB / 0.7464 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.364e-06/0.8156, allocations: 5.938 kB / 0.7464 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002933/0.8186, allocations: 1.049 MB / 0.7475 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.8187, allocations: 196.2 kB / 0.7477 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.8195, allocations: 0.5823 MB / 0.7482 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.8196, allocations: 37.7 kB / 0.7483 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.8199, allocations: 360.9 kB / 0.7486 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.8201, allocations: 228.7 kB / 0.7488 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.8203, allocations: 150.5 kB / 0.749 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.8205, allocations: 378.8 kB / 0.7493 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/0.821, allocations: 237.9 kB / 0.7496 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.8215, allocations: 314.8 kB / 0.7499 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.8225, allocations: 0.5351 MB / 0.7504 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8225, allocations: 0 / 0.7504 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001777/0.8243, allocations: 0.7509 MB / 0.7511 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.8243, allocations: 7.984 kB / 0.7511 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8243, allocations: 4 kB / 0.7511 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.825, allocations: 82.56 kB / 0.7512 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.8255, allocations: 139.8 kB / 0.7513 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.8277, allocations: 1.521 MB / 0.7528 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.8284, allocations: 83.3 kB / 0.7529 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.8284, allocations: 31.98 kB / 0.7529 GB, free: 184 kB / 0.5606 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 (81): * Single equations (assignments): 80 * 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.0004591/0.8289, allocations: 245.9 kB / 0.7532 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.8291, allocations: 79.12 kB / 0.7532 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.8312, allocations: 0.9605 MB / 0.7542 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.8313, allocations: 8 kB / 0.7542 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8313, allocations: 0 / 0.7542 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.8313, allocations: 7.984 kB / 0.7542 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.8344, allocations: 1.786 MB / 0.7559 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8344, allocations: 1.219 kB / 0.7559 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.835, allocations: 135.8 kB / 0.7561 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/0.8355, allocations: 80.78 kB / 0.7561 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/0.8356, allocations: 24.86 kB / 0.7562 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.8375, allocations: 1.554 MB / 0.7577 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8375, allocations: 0 / 0.7577 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.8395, allocations: 0.8829 MB / 0.7586 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.8399, allocations: 251.8 kB / 0.7588 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.84, allocations: 12 kB / 0.7588 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.8406, allocations: 55.94 kB / 0.7589 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.8407, allocations: 56.92 kB / 0.7589 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.8408, allocations: 27.98 kB / 0.7589 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000611/0.8414, allocations: 427 kB / 0.7593 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8414, allocations: 1.031 kB / 0.7593 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00101/0.8425, allocations: 279.4 kB / 0.7596 GB, free: 9.098 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 (81): * Single equations (assignments): 78 * 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.001686/0.8442, allocations: 0.6104 MB / 0.7602 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.8458, allocations: 0.7231 MB / 0.7609 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.8458, allocations: 3.938 kB / 0.7609 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008861/0.8467, allocations: 484.9 kB / 0.7614 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.8479, allocations: 256.3 kB / 0.7616 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.8521, allocations: 2.022 MB / 0.7636 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.8528, allocations: 0.9877 MB / 0.7646 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.8531, allocations: 107.4 kB / 0.7647 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.8531, allocations: 7.938 kB / 0.7647 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of Templates: time 0.02671/0.8798, allocations: 16.72 MB / 0.781 GB, free: 3.379 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngleCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleFunctions.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.SolarHourAngleCalcHelperMain.o] Error 1