Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001532/0.001532, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8427/0.8427, allocations: 132.2 MB / 423.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.89 kB / 0.5024 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4701, allocations: 80.18 MB / 0.5807 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2058/0.6759, allocations: 167 MB / 0.7438 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.408/1.084, allocations: 17.09 MB / 0.7605 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/1.085, allocations: 31.66 kB / 0.7605 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/1.087, allocations: 0.527 MB / 0.761 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004738/1.092, allocations: 1.648 MB / 0.7626 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00344/1.095, allocations: 1.37 MB / 0.764 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003798/1.099, allocations: 2.548 MB / 0.7665 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/1.101, allocations: 1.941 MB / 0.7684 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/1.106, allocations: 1.353 MB / 0.7697 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/1.108, allocations: 1.037 MB / 0.7707 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004749/1.108, allocations: 210.9 kB / 0.7709 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/1.112, allocations: 1.508 MB / 0.7724 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008152/1.113, allocations: 0.7666 MB / 0.7731 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/1.115, allocations: 1.134 MB / 0.7742 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004746/1.119, allocations: 3.346 MB / 0.7775 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.119, allocations: 0 / 0.7775 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/1.119, allocations: 1.031 kB / 0.7775 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.842e-05/1.119, allocations: 0 / 0.7775 GB, free: 0.7305 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004451/1.124, allocations: 2.646 MB / 0.7801 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.124, allocations: 13.47 kB / 0.7801 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/1.128, allocations: 0.5458 MB / 0.7806 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/1.13, allocations: 1.558 MB / 0.7821 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/1.13, allocations: 130 kB / 0.7823 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/1.13, allocations: 161.3 kB / 0.7824 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/1.133, allocations: 1.895 MB / 0.7843 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/1.134, allocations: 0 / 0.7843 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/1.134, allocations: 75.69 kB / 0.7843 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/1.134, allocations: 44.62 kB / 0.7844 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/1.137, allocations: 2.063 MB / 0.7864 GB, free: 14.65 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009865/1.147, allocations: 5.737 MB / 0.792 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/1.15, allocations: 2.03 MB / 0.794 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/1.151, allocations: 0.7399 MB / 0.7947 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/1.152, allocations: 429.8 kB / 0.7951 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/1.154, allocations: 0.9438 MB / 0.796 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 3.005e-06/1.154, allocations: 0.9688 kB / 0.796 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.00699/1.161, allocations: 2.855 MB / 0.7988 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.161, allocations: 195.7 kB / 0.799 GB, free: 11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/1.163, allocations: 1.764 MB / 0.8007 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00023/1.163, allocations: 54.42 kB / 0.8008 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000724/1.164, allocations: 0.8142 MB / 0.8016 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/1.165, allocations: 461 kB / 0.802 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/1.165, allocations: 243.4 kB / 0.8023 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.165, allocations: 354.8 kB / 0.8026 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/1.166, allocations: 0.572 MB / 0.8032 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.168, allocations: 0.7771 MB / 0.8039 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/1.17, allocations: 1.307 MB / 0.8052 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.17, allocations: 0.8438 kB / 0.8052 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004273/1.174, allocations: 1.756 MB / 0.8069 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.174, allocations: 6.656 kB / 0.8069 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.174, allocations: 0 / 0.8069 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.175, allocations: 210.7 kB / 0.8071 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/1.177, allocations: 336.6 kB / 0.8074 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/1.183, allocations: 7.319 MB / 0.8146 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.185, allocations: 151.5 kB / 0.8147 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/1.186, allocations: 52.86 kB / 0.8148 GB, free: 2.59 MB / 0.5919 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 (141): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001081/1.187, allocations: 479.1 kB / 0.8152 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/1.187, allocations: 169.2 kB / 0.8154 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/1.192, allocations: 2.05 MB / 0.8174 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.192, allocations: 15.69 kB / 0.8174 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.192, allocations: 2.344 kB / 0.8174 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/1.192, allocations: 8.781 kB / 0.8174 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006978/1.199, allocations: 3.819 MB / 0.8212 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.199, allocations: 4.156 kB / 0.8212 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.2, allocations: 314.6 kB / 0.8215 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009392/1.201, allocations: 213.1 kB / 0.8217 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/1.201, allocations: 35.97 kB / 0.8217 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006228/1.208, allocations: 7.351 MB / 0.8289 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.208, allocations: 0 / 0.8289 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/1.212, allocations: 1.918 MB / 0.8307 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009881/1.213, allocations: 454.4 kB / 0.8312 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/1.213, allocations: 28 kB / 0.8312 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.215, allocations: 99.3 kB / 0.8313 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/1.215, allocations: 105.2 kB / 0.8314 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.215, allocations: 67.95 kB / 0.8315 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001783/1.217, allocations: 1.268 MB / 0.8327 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/1.217, allocations: 0 / 0.8327 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001895/1.219, allocations: 0.6352 MB / 0.8333 GB, free: 2.227 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001796/1.22, allocations: 0.7314 MB / 0.834 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005526/1.226, allocations: 2.438 MB / 0.8364 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.226, allocations: 0.7969 kB / 0.8364 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/1.228, allocations: 1.392 MB / 0.8378 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.231, allocations: 0.5247 MB / 0.8383 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/1.24, allocations: 3.831 MB / 0.842 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.242, allocations: 1.466 MB / 0.8435 GB, free: 8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/1.243, allocations: 183.3 kB / 0.8436 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of SimCode: time 7.71e-07/1.243, allocations: 4 kB / 0.8436 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of Templates: time 0.07855/1.321, allocations: 64.47 MB / 0.9066 GB, free: 7.516 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsFunctions.cpp:8: /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.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.o] Error 1