Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 100.8 kB / 16.27 MB, free: 5.996 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.002029/0.002029, allocations: 191.7 kB / 17.2 MB, free: 5.605 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8551/0.8551, allocations: 135.1 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.91 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3411, allocations: 80.91 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005289/0.3464, allocations: 4.183 MB / 0.5891 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1617/0.5082, allocations: 150.5 MB / 0.736 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008808/0.5091, allocations: 15.94 kB / 0.736 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007243/0.5099, allocations: 174.4 kB / 0.7362 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.5118, allocations: 485 kB / 0.7367 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.514, allocations: 0.7854 MB / 0.7374 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.5157, allocations: 1.207 MB / 0.7386 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.5167, allocations: 0.5619 MB / 0.7392 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008174/0.5176, allocations: 426.5 kB / 0.7396 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000767/0.5183, allocations: 434 kB / 0.74 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.5187, allocations: 96 kB / 0.7401 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.5204, allocations: 0.8231 MB / 0.7409 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.5207, allocations: 267.1 kB / 0.7411 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.5214, allocations: 481.4 kB / 0.7416 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.5238, allocations: 1.609 MB / 0.7432 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5238, allocations: 4 kB / 0.7432 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5238, allocations: 0 / 0.7432 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.657e-05/0.5238, allocations: 0 / 0.7432 GB, free: 8.062 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002733/0.5266, allocations: 1.354 MB / 0.7445 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5266, allocations: 9.109 kB / 0.7445 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.5279, allocations: 195.5 kB / 0.7447 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.5289, allocations: 0.6994 MB / 0.7454 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.529, allocations: 54 kB / 0.7454 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.5291, allocations: 64 kB / 0.7455 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.5307, allocations: 0.8294 MB / 0.7463 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5307, allocations: 4 kB / 0.7463 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/0.5308, allocations: 32 kB / 0.7463 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.5308, allocations: 16 kB / 0.7463 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.5328, allocations: 1.085 MB / 0.7474 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.5366, allocations: 2.374 MB / 0.7497 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.5381, allocations: 0.7414 MB / 0.7504 GB, free: 396 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.5388, allocations: 302.7 kB / 0.7507 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/0.5388, allocations: 24.69 kB / 0.7508 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.291/0.8298, allocations: 457.7 kB / 0.7512 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/0.8299, allocations: 1.906 kB / 0.7512 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003953/0.8338, allocations: 1.17 MB / 0.7523 GB, free: 165 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.8339, allocations: 193.3 kB / 0.7525 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/0.8349, allocations: 0.597 MB / 0.7531 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.8349, allocations: 37.89 kB / 0.7531 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.8352, allocations: 358.5 kB / 0.7535 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.8354, allocations: 242.5 kB / 0.7537 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.8357, allocations: 157.1 kB / 0.7539 GB, free: 164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.8359, allocations: 378.4 kB / 0.7542 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/0.8367, allocations: 268.2 kB / 0.7545 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000822/0.8375, allocations: 363.7 kB / 0.7548 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.839, allocations: 0.6146 MB / 0.7554 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.839, allocations: 0 / 0.7554 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002452/0.8414, allocations: 0.8424 MB / 0.7562 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.8415, allocations: 5.625 kB / 0.7563 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.8415, allocations: 1.578 kB / 0.7563 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/0.8423, allocations: 84.12 kB / 0.7563 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.8431, allocations: 167.7 kB / 0.7565 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.8454, allocations: 1.645 MB / 0.7581 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/0.8463, allocations: 87.95 kB / 0.7582 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8465, allocations: 38.23 kB / 0.7582 GB, free: 161.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0006112/0.8471, allocations: 255.3 kB / 0.7585 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.8473, allocations: 77.41 kB / 0.7585 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.8507, allocations: 1.106 MB / 0.7596 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.8507, allocations: 9.125 kB / 0.7596 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8507, allocations: 4.5 kB / 0.7596 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.8507, allocations: 5.703 kB / 0.7596 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/0.8516, allocations: 0.8355 MB / 0.7605 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8516, allocations: 0 / 0.7605 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.8523, allocations: 152.3 kB / 0.7606 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/0.8528, allocations: 81.91 kB / 0.7607 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.8528, allocations: 19.92 kB / 0.7607 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.8545, allocations: 1.674 MB / 0.7623 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.8545, allocations: 1.125 kB / 0.7623 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.8566, allocations: 0.9025 MB / 0.7632 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.8569, allocations: 265.4 kB / 0.7635 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.8571, allocations: 16.34 kB / 0.7635 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.8577, allocations: 66.2 kB / 0.7635 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.8578, allocations: 68.42 kB / 0.7636 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.8579, allocations: 37.61 kB / 0.7636 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005201/0.8584, allocations: 433 kB / 0.7641 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8584, allocations: 1.219 kB / 0.7641 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008996/0.8593, allocations: 300.8 kB / 0.7643 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,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001384/0.8607, allocations: 0.6247 MB / 0.765 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002496/0.8632, allocations: 1.011 MB / 0.7659 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.8632, allocations: 2.344 kB / 0.7659 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009142/0.8642, allocations: 0.5086 MB / 0.7664 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.001129/0.8653, allocations: 297.4 kB / 0.7667 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.8687, allocations: 1.688 MB / 0.7684 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.8691, allocations: 0.9955 MB / 0.7693 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.8694, allocations: 115.3 kB / 0.7695 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.8694, allocations: 0 / 0.7695 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01762/0.887, allocations: 17.48 MB / 0.7865 GB, free: 135.7 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorFunctions.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.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.o] Error 1