Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001083, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001085/0.001085, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7672/0.7672, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.67 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 80.91 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5463/0.7021, allocations: 166.9 MB / 0.8283 GB, free: 264 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.7211, allocations: 17.1 MB / 0.845 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.7227, allocations: 32.28 kB / 0.845 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.7243, allocations: 0.5332 MB / 0.8456 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.7296, allocations: 1.678 MB / 0.8472 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.7334, allocations: 1.381 MB / 0.8486 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003029/0.7364, allocations: 2.529 MB / 0.851 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.7388, allocations: 1.956 MB / 0.8529 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/0.7425, allocations: 1.393 MB / 0.8543 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.7439, allocations: 1.031 MB / 0.8553 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.7442, allocations: 205.7 kB / 0.8555 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/0.7471, allocations: 1.545 MB / 0.857 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005788/0.7477, allocations: 0.7575 MB / 0.8577 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009992/0.7487, allocations: 1.131 MB / 0.8588 GB, free: 9 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.7529, allocations: 3.399 MB / 0.8622 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7529, allocations: 4 kB / 0.8622 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7529, allocations: 0 / 0.8622 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.443e-05/0.7529, allocations: 0 / 0.8622 GB, free: 5.586 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003715/0.7566, allocations: 2.619 MB / 0.8647 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7567, allocations: 13.11 kB / 0.8647 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.7601, allocations: 0.5435 MB / 0.8653 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.7621, allocations: 1.595 MB / 0.8668 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.7622, allocations: 127.3 kB / 0.867 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.7624, allocations: 167.9 kB / 0.8671 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.7654, allocations: 1.869 MB / 0.8689 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.7655, allocations: 0 / 0.8689 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.7656, allocations: 68 kB / 0.869 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.7656, allocations: 40 kB / 0.869 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.7688, allocations: 2.042 MB / 0.871 GB, free: 12.33 MB / 0.6387 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.008523/0.7773, allocations: 5.504 MB / 0.8764 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.7802, allocations: 2.001 MB / 0.8784 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.7813, allocations: 0.7413 MB / 0.8791 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/0.7819, allocations: 429.7 kB / 0.8795 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.7835, allocations: 0.9264 MB / 0.8804 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 4.408e-06/0.7835, allocations: 4 kB / 0.8804 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006103/0.7896, allocations: 2.825 MB / 0.8832 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7897, allocations: 197.2 kB / 0.8834 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.792, allocations: 1.742 MB / 0.8851 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.7922, allocations: 57.7 kB / 0.8851 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.7929, allocations: 0.8073 MB / 0.8859 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.7932, allocations: 465.2 kB / 0.8863 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.7936, allocations: 238.8 kB / 0.8866 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7937, allocations: 357.9 kB / 0.8869 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009657/0.7947, allocations: 0.5609 MB / 0.8875 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.7959, allocations: 0.7584 MB / 0.8882 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.798, allocations: 1.278 MB / 0.8894 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.798, allocations: 4 kB / 0.8894 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003563/0.8015, allocations: 1.733 MB / 0.8911 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.8016, allocations: 10.44 kB / 0.8912 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.8016, allocations: 0 / 0.8912 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/0.8026, allocations: 216.2 kB / 0.8914 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.804, allocations: 323.5 kB / 0.8917 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005463/0.8095, allocations: 7.316 MB / 0.8988 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.811, allocations: 138.8 kB / 0.8989 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.8111, allocations: 51.95 kB / 0.899 GB, free: 14.26 MB / 0.67 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 (140): * Single equations (assignments): 135 * 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.0009079/0.812, allocations: 473.5 kB / 0.8994 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.8124, allocations: 169.9 kB / 0.8996 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/0.8163, allocations: 2.023 MB / 0.9016 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.8163, allocations: 16 kB / 0.9016 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8163, allocations: 0 / 0.9016 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.8164, allocations: 15.91 kB / 0.9016 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005783/0.8222, allocations: 3.793 MB / 0.9053 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.8222, allocations: 4 kB / 0.9053 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.8235, allocations: 311.5 kB / 0.9056 GB, free: 7.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008366/0.8244, allocations: 208.1 kB / 0.9058 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.8245, allocations: 43.91 kB / 0.9059 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005188/0.8297, allocations: 7.347 MB / 0.913 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8297, allocations: 0 / 0.913 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/0.8334, allocations: 1.883 MB / 0.9149 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/0.8342, allocations: 454.3 kB / 0.9153 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.8344, allocations: 31.98 kB / 0.9153 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8354, allocations: 89.81 kB / 0.9154 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.8356, allocations: 109.1 kB / 0.9155 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.8358, allocations: 63.95 kB / 0.9156 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001471/0.8373, allocations: 1.248 MB / 0.9168 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8373, allocations: 4 kB / 0.9168 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001592/0.8389, allocations: 0.6313 MB / 0.9174 GB, free: 10.48 MB / 0.6856 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.001655/0.8405, allocations: 0.7417 MB / 0.9181 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003122/0.8437, allocations: 2.008 MB / 0.9201 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8437, allocations: 0.7969 kB / 0.9201 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.8455, allocations: 1.375 MB / 0.9215 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.8477, allocations: 0.5132 MB / 0.922 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/0.8541, allocations: 3.636 MB / 0.9255 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009534/0.8551, allocations: 1.454 MB / 0.9269 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/0.8558, allocations: 187.3 kB / 0.9271 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.8558, allocations: 0 / 0.9271 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of Templates: time 0.06898/0.9248, allocations: 64.26 MB / 0.9899 GB, free: 384 kB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpDataFunctions.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.Examples.Outside_CpDataCalcHelperMain.o] Error 1