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.001416/0.001416, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.001453/0.001453, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8227/0.8227, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 62.38 kB / 0.5862 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1963, allocations: 80.92 MB / 0.6652 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00563/0.2019, allocations: 4.053 MB / 0.6692 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5389/0.7409, allocations: 150.4 MB / 0.8161 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009202/0.7419, allocations: 20.25 kB / 0.8161 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.7425, allocations: 165 kB / 0.8163 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.744, allocations: 466.2 kB / 0.8167 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.7458, allocations: 0.7879 MB / 0.8175 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.747, allocations: 1.15 MB / 0.8186 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.7477, allocations: 0.6009 MB / 0.8192 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/0.7482, allocations: 415.4 kB / 0.8196 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.7486, allocations: 436.4 kB / 0.82 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.7487, allocations: 99.44 kB / 0.8201 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007818/0.7495, allocations: 474.5 kB / 0.8206 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.7498, allocations: 258.3 kB / 0.8208 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000368/0.7501, allocations: 489.6 kB / 0.8213 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.7515, allocations: 1.463 MB / 0.8227 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7516, allocations: 0 / 0.8227 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7516, allocations: 0 / 0.8227 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.7516, allocations: 0 / 0.8227 GB, free: 5.719 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001921/0.7535, allocations: 1.3 MB / 0.824 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.7535, allocations: 8.984 kB / 0.824 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.7544, allocations: 181.1 kB / 0.8241 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009799/0.7554, allocations: 0.7141 MB / 0.8248 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.7554, allocations: 62.45 kB / 0.8249 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/0.7555, allocations: 71.97 kB / 0.825 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.7568, allocations: 0.8426 MB / 0.8258 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.7568, allocations: 0.8438 kB / 0.8258 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.7569, allocations: 30.84 kB / 0.8258 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.7569, allocations: 20.44 kB / 0.8258 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.7584, allocations: 1.048 MB / 0.8269 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.7615, allocations: 2.3 MB / 0.8291 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.7627, allocations: 0.7675 MB / 0.8299 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.7631, allocations: 270.6 kB / 0.8301 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.685e-05/0.7632, allocations: 34.05 kB / 0.8302 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000653/0.7639, allocations: 412.3 kB / 0.8305 GB, free: 244 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 1.924e-06/0.7639, allocations: 2.688 kB / 0.8306 GB, free: 244 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002702/0.7666, allocations: 1.045 MB / 0.8316 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.7667, allocations: 192.2 kB / 0.8318 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/0.7673, allocations: 0.5829 MB / 0.8323 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.7674, allocations: 42.2 kB / 0.8324 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.7677, allocations: 371.1 kB / 0.8327 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.7678, allocations: 235.1 kB / 0.8329 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.768, allocations: 146.5 kB / 0.8331 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7682, allocations: 380.2 kB / 0.8334 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.7686, allocations: 227.1 kB / 0.8337 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.7692, allocations: 319.6 kB / 0.834 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009056/0.7701, allocations: 0.5315 MB / 0.8345 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7701, allocations: 4 kB / 0.8345 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001579/0.7717, allocations: 0.7518 MB / 0.8352 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.7717, allocations: 7.562 kB / 0.8352 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7717, allocations: 0 / 0.8352 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.7723, allocations: 83.56 kB / 0.8353 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.7728, allocations: 143.6 kB / 0.8354 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.7747, allocations: 1.628 MB / 0.837 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.7753, allocations: 77.8 kB / 0.8371 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.7754, allocations: 36.09 kB / 0.8371 GB, free: 11.35 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 (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.0003407/0.7757, allocations: 251.2 kB / 0.8374 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.7759, allocations: 78.41 kB / 0.8375 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.7778, allocations: 0.9502 MB / 0.8384 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.7779, allocations: 7.531 kB / 0.8384 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.7779, allocations: 0 / 0.8384 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.7779, allocations: 3.984 kB / 0.8384 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.7806, allocations: 1.792 MB / 0.8401 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.7806, allocations: 0 / 0.8401 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.7811, allocations: 133.6 kB / 0.8403 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.7815, allocations: 71.44 kB / 0.8403 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.7816, allocations: 27.64 kB / 0.8404 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.7834, allocations: 1.661 MB / 0.842 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7834, allocations: 2.906 kB / 0.842 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.785, allocations: 0.8824 MB / 0.8429 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.7853, allocations: 249.9 kB / 0.8431 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/0.7854, allocations: 13.34 kB / 0.8431 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.786, allocations: 61.06 kB / 0.8432 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.7861, allocations: 59.86 kB / 0.8432 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.7861, allocations: 29.55 kB / 0.8433 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004697/0.7866, allocations: 427.9 kB / 0.8437 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7866, allocations: 0 / 0.8437 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007523/0.7874, allocations: 279.2 kB / 0.8439 GB, free: 6.508 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 (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.001315/0.7887, allocations: 0.6116 MB / 0.8445 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.7901, allocations: 0.7328 MB / 0.8452 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7901, allocations: 3.062 kB / 0.8452 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.7909, allocations: 479.1 kB / 0.8457 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.792, allocations: 279.7 kB / 0.846 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.7953, allocations: 1.639 MB / 0.8476 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.7959, allocations: 0.9913 MB / 0.8485 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.7961, allocations: 107.4 kB / 0.8486 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.7962, allocations: 0 / 0.8486 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.01985/0.816, allocations: 16.74 MB / 0.865 GB, free: 2.004 MB / 0.6231 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++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.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