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.001184/0.001184, allocations: 104.7 kB / 15.98 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.001202/0.001202, allocations: 198 kB / 16.91 MB, free: 6.184 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8211/0.8211, allocations: 135.1 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 63.91 kB / 0.5055 GB, free: 8.746 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4311, allocations: 80.9 MB / 0.5845 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005195/0.4364, allocations: 4.333 MB / 0.5887 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1644/0.6009, allocations: 148.4 MB / 0.7336 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.6019, allocations: 19.88 kB / 0.7336 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.6025, allocations: 134.9 kB / 0.7338 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.6046, allocations: 441.7 kB / 0.7342 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.6069, allocations: 0.7426 MB / 0.7349 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.6087, allocations: 1.273 MB / 0.7362 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.6098, allocations: 0.7025 MB / 0.7368 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.6106, allocations: 498.1 kB / 0.7373 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.6112, allocations: 0.5055 MB / 0.7378 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.6114, allocations: 123.9 kB / 0.7379 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009616/0.6123, allocations: 475.7 kB / 0.7384 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.6126, allocations: 311 kB / 0.7387 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.6131, allocations: 0.5518 MB / 0.7392 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.6147, allocations: 1.236 MB / 0.7404 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6147, allocations: 4 kB / 0.7404 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6147, allocations: 0 / 0.7404 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.6147, allocations: 0 / 0.7404 GB, free: 10.59 MB / 0.5762 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.00245/0.6172, allocations: 1.436 MB / 0.7418 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6172, allocations: 13.11 kB / 0.7418 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009608/0.6182, allocations: 187.3 kB / 0.742 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.6193, allocations: 0.7421 MB / 0.7428 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/0.6194, allocations: 78 kB / 0.7428 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.6195, allocations: 92 kB / 0.7429 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.6211, allocations: 0.9925 MB / 0.7439 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.6212, allocations: 0 / 0.7439 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/0.6213, allocations: 39.98 kB / 0.7439 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.6213, allocations: 24 kB / 0.7439 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.6231, allocations: 1.159 MB / 0.7451 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.6277, allocations: 2.745 MB / 0.7478 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.629, allocations: 0.7612 MB / 0.7485 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.6296, allocations: 306.7 kB / 0.7488 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.785e-05/0.6297, allocations: 40.53 kB / 0.7488 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009478/0.6306, allocations: 455.3 kB / 0.7493 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.885e-06/0.6306, allocations: 0 / 0.7493 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003268/0.6339, allocations: 1.152 MB / 0.7504 GB, free: 128 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2958/0.9298, allocations: 189.7 kB / 0.7506 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.931, allocations: 0.6325 MB / 0.7512 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.9313, allocations: 40.23 kB / 0.7512 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.9317, allocations: 410.6 kB / 0.7516 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.9319, allocations: 267.8 kB / 0.7519 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.9322, allocations: 170 kB / 0.752 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9323, allocations: 384.2 kB / 0.7524 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/0.9329, allocations: 259.2 kB / 0.7526 GB, free: 164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/0.9336, allocations: 360.6 kB / 0.753 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.9348, allocations: 0.6036 MB / 0.7536 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.9348, allocations: 0.5 kB / 0.7536 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002114/0.937, allocations: 0.8488 MB / 0.7544 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.937, allocations: 9.125 kB / 0.7544 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.937, allocations: 1.844 kB / 0.7544 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.9376, allocations: 77.94 kB / 0.7545 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.9384, allocations: 169.6 kB / 0.7547 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.9403, allocations: 1.631 MB / 0.7563 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.9411, allocations: 92.8 kB / 0.7563 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.9412, allocations: 38.48 kB / 0.7564 GB, free: 161.7 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.0004558/0.9416, allocations: 272.9 kB / 0.7566 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.9418, allocations: 84.23 kB / 0.7567 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.9444, allocations: 1.086 MB / 0.7578 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.9445, allocations: 10.75 kB / 0.7578 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.9445, allocations: 0 / 0.7578 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.9445, allocations: 7.109 kB / 0.7578 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.9483, allocations: 2.002 MB / 0.7597 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.9483, allocations: 3.188 kB / 0.7598 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.949, allocations: 157.9 kB / 0.7599 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.9494, allocations: 71.47 kB / 0.76 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.9495, allocations: 28.83 kB / 0.76 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.9511, allocations: 1.665 MB / 0.7616 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9511, allocations: 2.531 kB / 0.7616 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.9529, allocations: 0.9735 MB / 0.7626 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.9533, allocations: 272.6 kB / 0.7628 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.9534, allocations: 17.81 kB / 0.7629 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/0.9539, allocations: 55.22 kB / 0.7629 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.9541, allocations: 65.97 kB / 0.763 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.9541, allocations: 38.64 kB / 0.763 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005153/0.9547, allocations: 463.6 kB / 0.7634 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.91e-07/0.9547, allocations: 0 / 0.7634 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001/0.9557, allocations: 334.6 kB / 0.7638 GB, free: 157.2 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.001359/0.957, allocations: 0.6086 MB / 0.7644 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.9592, allocations: 1.021 MB / 0.7654 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9592, allocations: 0.5 kB / 0.7654 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/0.96, allocations: 0.5176 MB / 0.7659 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.9611, allocations: 296.5 kB / 0.7661 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.9645, allocations: 2.303 MB / 0.7684 GB, free: 154 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.9649, allocations: 1.04 MB / 0.7694 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.9652, allocations: 119.4 kB / 0.7695 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.9652, allocations: 3.438 kB / 0.7695 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01858/0.9838, allocations: 18.79 MB / 0.7879 GB, free: 134.1 MB / 0.5762 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