Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001541/0.001541, allocations: 111.2 kB / 15.99 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.001196/0.001196, allocations: 195.3 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8381/0.8381, allocations: 135.2 MB / 425.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002113, allocations: 59.91 kB / 0.5055 GB, free: 8.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4554, allocations: 80.92 MB / 0.5846 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1974/0.6529, allocations: 164.7 MB / 0.7454 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3636/1.017, allocations: 16.92 MB / 0.7619 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/1.018, allocations: 29.66 kB / 0.7619 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/1.02, allocations: 456.5 kB / 0.7624 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004846/1.024, allocations: 1.506 MB / 0.7638 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/1.028, allocations: 1.255 MB / 0.7651 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003929/1.032, allocations: 2.546 MB / 0.7676 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/1.034, allocations: 1.953 MB / 0.7695 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005662/1.04, allocations: 1.36 MB / 0.7708 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/1.041, allocations: 1.072 MB / 0.7718 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003978/1.042, allocations: 209.3 kB / 0.772 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/1.045, allocations: 1.549 MB / 0.7735 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005661/1.045, allocations: 0.7661 MB / 0.7743 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/1.046, allocations: 1.133 MB / 0.7754 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/1.049, allocations: 2.556 MB / 0.7779 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.049, allocations: 0.7812 kB / 0.7779 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.454e-06/1.049, allocations: 6.031 kB / 0.7779 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.404e-05/1.049, allocations: 0 / 0.7779 GB, free: 0.9766 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.003756/1.053, allocations: 2.642 MB / 0.7805 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.053, allocations: 12.39 kB / 0.7805 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/1.056, allocations: 0.5449 MB / 0.781 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/1.058, allocations: 1.559 MB / 0.7826 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.321e-05/1.058, allocations: 130.4 kB / 0.7827 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/1.059, allocations: 162.6 kB / 0.7828 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/1.061, allocations: 1.899 MB / 0.7847 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/1.061, allocations: 4.281 kB / 0.7847 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/1.062, allocations: 68.72 kB / 0.7848 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/1.062, allocations: 40.22 kB / 0.7848 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/1.064, allocations: 2.069 MB / 0.7868 GB, free: 14.9 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.007866/1.072, allocations: 5.719 MB / 0.7924 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/1.075, allocations: 2.031 MB / 0.7944 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/1.076, allocations: 0.7416 MB / 0.7951 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005805/1.077, allocations: 425.7 kB / 0.7955 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/1.078, allocations: 0.9485 MB / 0.7964 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.826e-06/1.078, allocations: 0.9062 kB / 0.7964 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006148/1.084, allocations: 2.858 MB / 0.7992 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.084, allocations: 195.7 kB / 0.7994 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/1.087, allocations: 1.754 MB / 0.8011 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/1.087, allocations: 59.67 kB / 0.8012 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006297/1.087, allocations: 0.8142 MB / 0.802 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/1.088, allocations: 460.4 kB / 0.8024 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/1.088, allocations: 247.5 kB / 0.8027 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.088, allocations: 352.1 kB / 0.803 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/1.089, allocations: 0.5748 MB / 0.8036 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/1.091, allocations: 0.7731 MB / 0.8043 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/1.093, allocations: 1.302 MB / 0.8056 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/1.093, allocations: 0 / 0.8056 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003914/1.097, allocations: 1.762 MB / 0.8073 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.097, allocations: 3.469 kB / 0.8073 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.097, allocations: 2.281 kB / 0.8073 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.098, allocations: 217 kB / 0.8075 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/1.099, allocations: 324.5 kB / 0.8078 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007021/1.106, allocations: 7.325 MB / 0.815 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.108, allocations: 171.3 kB / 0.8151 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.108, allocations: 51.69 kB / 0.8152 GB, free: 2.809 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.0009715/1.109, allocations: 475 kB / 0.8156 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/1.109, allocations: 173 kB / 0.8158 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/1.114, allocations: 2.042 MB / 0.8178 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.114, allocations: 14.72 kB / 0.8178 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.114, allocations: 2.094 kB / 0.8178 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.114, allocations: 10.69 kB / 0.8178 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006532/1.12, allocations: 3.822 MB / 0.8216 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.12, allocations: 7.938 kB / 0.8216 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.122, allocations: 317.2 kB / 0.8219 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008842/1.123, allocations: 207.2 kB / 0.8221 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.123, allocations: 39.97 kB / 0.8221 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00701/1.13, allocations: 7.35 MB / 0.8293 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.13, allocations: 4.031 kB / 0.8293 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/1.134, allocations: 1.914 MB / 0.8312 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.135, allocations: 450.4 kB / 0.8316 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/1.136, allocations: 28 kB / 0.8316 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.137, allocations: 118.7 kB / 0.8317 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/1.137, allocations: 112.1 kB / 0.8318 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.137, allocations: 63.95 kB / 0.8319 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001797/1.139, allocations: 1.265 MB / 0.8331 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/1.139, allocations: 0 / 0.8331 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001993/1.141, allocations: 0.6391 MB / 0.8338 GB, free: 2.633 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.002324/1.143, allocations: 0.7333 MB / 0.8345 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005463/1.149, allocations: 2.443 MB / 0.8369 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.149, allocations: 4.734 kB / 0.8369 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002242/1.151, allocations: 1.384 MB / 0.8382 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/1.154, allocations: 0.5199 MB / 0.8387 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008583/1.162, allocations: 4.598 MB / 0.8432 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.164, allocations: 1.466 MB / 0.8446 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000816/1.165, allocations: 183.3 kB / 0.8448 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of SimCode: time 7.81e-07/1.165, allocations: 0 / 0.8448 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of Templates: time 0.07942/1.244, allocations: 64.48 MB / 0.9078 GB, free: 7.094 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_DirectionsFunctions.cpp:8: /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.Fluid.Sources.Validation.Outside_CpData_DirectionsCalcHelperMain.o] Error 1