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.001414/0.001414, allocations: 102.9 kB / 16.27 MB, free: 5.918 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.001663/0.001664, allocations: 186.3 kB / 17.19 MB, free: 5.555 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8684/0.8684, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 68.08 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3422, allocations: 80.18 MB / 0.5807 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005204/0.3474, allocations: 4.318 MB / 0.585 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.153/0.5005, allocations: 150.6 MB / 0.732 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007901/0.5013, allocations: 19.88 kB / 0.732 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.5019, allocations: 170.4 kB / 0.7322 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.5036, allocations: 0.4927 MB / 0.7327 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.5054, allocations: 0.8351 MB / 0.7335 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.5066, allocations: 1.269 MB / 0.7347 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/0.5076, allocations: 0.7107 MB / 0.7354 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.5082, allocations: 490.3 kB / 0.7359 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000517/0.5087, allocations: 0.5016 MB / 0.7364 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.5089, allocations: 116 kB / 0.7365 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008134/0.5097, allocations: 479.7 kB / 0.7369 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.51, allocations: 310.9 kB / 0.7372 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004774/0.5105, allocations: 0.5557 MB / 0.7378 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.5121, allocations: 1.608 MB / 0.7394 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5121, allocations: 0 / 0.7394 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5121, allocations: 0 / 0.7394 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.5121, allocations: 0 / 0.7394 GB, free: 11.38 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.002286/0.5144, allocations: 1.436 MB / 0.7408 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5145, allocations: 8.031 kB / 0.7408 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009383/0.5154, allocations: 191.3 kB / 0.7409 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.5164, allocations: 0.746 MB / 0.7417 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.5165, allocations: 78 kB / 0.7417 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5166, allocations: 88 kB / 0.7418 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.5183, allocations: 0.9847 MB / 0.7428 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.5183, allocations: 4 kB / 0.7428 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/0.5184, allocations: 40 kB / 0.7428 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.5185, allocations: 24 kB / 0.7429 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5204, allocations: 1.159 MB / 0.744 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.5247, allocations: 2.745 MB / 0.7467 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.5261, allocations: 0.7769 MB / 0.7474 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.5266, allocations: 302.7 kB / 0.7477 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.592e-05/0.5267, allocations: 28.61 kB / 0.7477 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008709/0.5276, allocations: 463.2 kB / 0.7482 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.255e-06/0.5276, allocations: 0 / 0.7482 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003182/0.5308, allocations: 1.152 MB / 0.7493 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5309, allocations: 192.6 kB / 0.7495 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007311/0.5317, allocations: 0.6254 MB / 0.7501 GB, free: 40 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.2549/0.7866, allocations: 45 kB / 0.7502 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.7871, allocations: 412 kB / 0.7505 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.7873, allocations: 266 kB / 0.7508 GB, free: 167 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.7876, allocations: 166.6 kB / 0.751 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7877, allocations: 379.6 kB / 0.7513 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/0.7884, allocations: 263 kB / 0.7516 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.7891, allocations: 356.4 kB / 0.7519 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.7903, allocations: 0.6101 MB / 0.7525 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7903, allocations: 1.062 kB / 0.7525 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002129/0.7924, allocations: 0.8418 MB / 0.7533 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.7924, allocations: 9.562 kB / 0.7533 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.7925, allocations: 3.375 kB / 0.7533 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.7931, allocations: 81.61 kB / 0.7534 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.7938, allocations: 172.7 kB / 0.7536 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.7957, allocations: 1.632 MB / 0.7552 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.7965, allocations: 86.45 kB / 0.7553 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.7965, allocations: 35.25 kB / 0.7553 GB, free: 164.1 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.0004007/0.797, allocations: 265.9 kB / 0.7555 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.7972, allocations: 84.55 kB / 0.7556 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/0.7999, allocations: 1.087 MB / 0.7567 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.7999, allocations: 9.938 kB / 0.7567 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7999, allocations: 4.625 kB / 0.7567 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.8, allocations: 6 kB / 0.7567 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.8036, allocations: 2.002 MB / 0.7587 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8036, allocations: 8.969 kB / 0.7587 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.8043, allocations: 156.9 kB / 0.7588 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.8048, allocations: 72.16 kB / 0.7589 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.8048, allocations: 27.97 kB / 0.7589 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.8065, allocations: 1.65 MB / 0.7605 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8065, allocations: 0 / 0.7605 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.8084, allocations: 0.9778 MB / 0.7615 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.8087, allocations: 268.2 kB / 0.7617 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.8089, allocations: 28.66 kB / 0.7618 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.8095, allocations: 51.98 kB / 0.7618 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.8096, allocations: 64 kB / 0.7619 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.8097, allocations: 40.08 kB / 0.7619 GB, free: 160 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005141/0.8102, allocations: 465.8 kB / 0.7624 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8102, allocations: 0 / 0.7624 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009615/0.8112, allocations: 330.5 kB / 0.7627 GB, free: 159.7 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.001303/0.8125, allocations: 0.6223 MB / 0.7633 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002328/0.8149, allocations: 1.028 MB / 0.7643 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8149, allocations: 1.688 kB / 0.7643 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008714/0.8158, allocations: 0.5099 MB / 0.7648 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.817, allocations: 279.5 kB / 0.7651 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.8207, allocations: 1.876 MB / 0.7669 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.8211, allocations: 1.05 MB / 0.7679 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.8214, allocations: 119.8 kB / 0.768 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.8214, allocations: 0 / 0.768 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01758/0.839, allocations: 18.79 MB / 0.7864 GB, free: 138.5 MB / 0.5762 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++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/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