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.001418/0.001418, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 199.6 kB / 16.79 MB, free: 6.809 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9006/0.9006, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.59 kB / 0.5053 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1645, allocations: 80.93 MB / 0.5843 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4728/0.6374, allocations: 164.6 MB / 0.7451 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.6581, allocations: 17.16 MB / 0.7618 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.6599, allocations: 27.81 kB / 0.7619 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.6613, allocations: 453.3 kB / 0.7623 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004639/0.666, allocations: 1.468 MB / 0.7637 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.6694, allocations: 1.22 MB / 0.7649 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0034/0.6728, allocations: 2.778 MB / 0.7676 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.6751, allocations: 1.815 MB / 0.7694 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00479/0.6799, allocations: 1.195 MB / 0.7706 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.6813, allocations: 1.011 MB / 0.7716 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.6816, allocations: 116 kB / 0.7717 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.6846, allocations: 1.563 MB / 0.7732 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.6852, allocations: 0.6775 MB / 0.7739 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.6863, allocations: 1.029 MB / 0.7749 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.6893, allocations: 2.514 MB / 0.7773 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6893, allocations: 0 / 0.7773 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6893, allocations: 0 / 0.7773 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.498e-05/0.6894, allocations: 0 / 0.7773 GB, free: 7.863 MB / 0.5919 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.004062/0.6934, allocations: 2.617 MB / 0.7799 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.6935, allocations: 12.03 kB / 0.7799 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.6972, allocations: 0.5474 MB / 0.7804 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.6994, allocations: 1.56 MB / 0.7819 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.711e-05/0.6995, allocations: 123.3 kB / 0.7821 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.6998, allocations: 168 kB / 0.7822 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.7029, allocations: 1.885 MB / 0.7841 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.7029, allocations: 3.938 kB / 0.7841 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.7031, allocations: 68 kB / 0.7841 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.7031, allocations: 40 kB / 0.7842 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/0.7063, allocations: 2.038 MB / 0.7862 GB, free: 14.63 MB / 0.6075 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.00841/0.7148, allocations: 5.55 MB / 0.7916 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.7178, allocations: 2.004 MB / 0.7935 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.7189, allocations: 0.7296 MB / 0.7943 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.7195, allocations: 433.6 kB / 0.7947 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.7211, allocations: 0.9374 MB / 0.7956 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.116e-06/0.7212, allocations: 0 / 0.7956 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006276/0.7274, allocations: 2.829 MB / 0.7983 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.7276, allocations: 193.2 kB / 0.7985 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.7299, allocations: 1.742 MB / 0.8002 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.7301, allocations: 57.7 kB / 0.8003 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007004/0.7308, allocations: 0.8073 MB / 0.8011 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/0.7312, allocations: 465.3 kB / 0.8015 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.7316, allocations: 242.7 kB / 0.8018 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7317, allocations: 353.9 kB / 0.8021 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.7327, allocations: 0.553 MB / 0.8026 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.7339, allocations: 0.7662 MB / 0.8034 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.7361, allocations: 1.282 MB / 0.8046 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7361, allocations: 0 / 0.8046 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003743/0.7399, allocations: 1.721 MB / 0.8063 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.7399, allocations: 7.938 kB / 0.8063 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.74, allocations: 0 / 0.8063 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.741, allocations: 220.2 kB / 0.8065 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.7424, allocations: 311.6 kB / 0.8068 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/0.7482, allocations: 6.804 MB / 0.8135 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.7499, allocations: 158.9 kB / 0.8136 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.7501, allocations: 51.97 kB / 0.8137 GB, free: 1.055 MB / 0.6231 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.001016/0.7511, allocations: 469.5 kB / 0.8141 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.7515, allocations: 177.9 kB / 0.8143 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/0.7558, allocations: 2.022 MB / 0.8163 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.7558, allocations: 12 kB / 0.8163 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.7558, allocations: 7.938 kB / 0.8163 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.7558, allocations: 7.922 kB / 0.8163 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006338/0.7622, allocations: 3.798 MB / 0.82 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7622, allocations: 3.938 kB / 0.82 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.7636, allocations: 315.6 kB / 0.8203 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009516/0.7646, allocations: 216.1 kB / 0.8205 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/0.7647, allocations: 39.97 kB / 0.8205 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/0.7702, allocations: 6.824 MB / 0.8272 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7703, allocations: 4.125 kB / 0.8272 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004012/0.7743, allocations: 1.892 MB / 0.8291 GB, free: 468 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000814/0.7751, allocations: 454.3 kB / 0.8295 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.7753, allocations: 28 kB / 0.8295 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7766, allocations: 110 kB / 0.8296 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.7768, allocations: 105.1 kB / 0.8297 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.777, allocations: 67.89 kB / 0.8298 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001659/0.7786, allocations: 1.252 MB / 0.831 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7787, allocations: 0 / 0.831 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001775/0.7804, allocations: 0.6353 MB / 0.8316 GB, free: 13.8 MB / 0.6544 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.001701/0.7821, allocations: 0.7403 MB / 0.8324 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003326/0.7855, allocations: 2.001 MB / 0.8343 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.7855, allocations: 4.797 kB / 0.8343 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.7875, allocations: 1.368 MB / 0.8357 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.7899, allocations: 496.3 kB / 0.8361 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/0.7973, allocations: 4.444 MB / 0.8405 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.7983, allocations: 1.466 MB / 0.8419 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.799, allocations: 183.3 kB / 0.8421 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of SimCode: time 8.52e-07/0.7991, allocations: 4 kB / 0.8421 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of Templates: time 0.3429/1.142, allocations: 64.05 MB / 0.9046 GB, free: 203.3 MB / 0.67 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++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.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