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.001507/0.001507, allocations: 108.8 kB / 15.99 MB, free: 6.367 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.001507/0.001507, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8421/0.8421, allocations: 135.2 MB / 425.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.89 kB / 0.5055 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3627, allocations: 80.92 MB / 0.5846 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1803/0.543, allocations: 164.6 MB / 0.7453 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3454/0.8885, allocations: 16.91 MB / 0.7618 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.8901, allocations: 27.75 kB / 0.7619 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.8918, allocations: 459.2 kB / 0.7623 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.8964, allocations: 1.5 MB / 0.7638 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.8997, allocations: 1.257 MB / 0.765 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003827/0.9036, allocations: 2.517 MB / 0.7675 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.9064, allocations: 1.962 MB / 0.7694 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005994/0.9124, allocations: 1.347 MB / 0.7707 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.9141, allocations: 1.063 MB / 0.7717 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005927/0.9147, allocations: 206.7 kB / 0.7719 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.9184, allocations: 1.544 MB / 0.7734 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007652/0.9192, allocations: 0.765 MB / 0.7742 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.9205, allocations: 1.125 MB / 0.7753 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.9234, allocations: 2.55 MB / 0.7778 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9235, allocations: 2.438 kB / 0.7778 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9235, allocations: 0.9375 kB / 0.7778 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.981e-05/0.9235, allocations: 0 / 0.7778 GB, free: 1.094 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003971/0.9275, allocations: 2.617 MB / 0.7803 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.9276, allocations: 9.141 kB / 0.7803 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.9312, allocations: 0.5518 MB / 0.7809 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.9335, allocations: 1.555 MB / 0.7824 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.854e-05/0.9336, allocations: 131.6 kB / 0.7825 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.9338, allocations: 164.2 kB / 0.7827 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.9368, allocations: 1.874 MB / 0.7845 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.9369, allocations: 3.812 kB / 0.7845 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.937, allocations: 69.69 kB / 0.7846 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.9371, allocations: 44.81 kB / 0.7846 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.9398, allocations: 2.043 MB / 0.7866 GB, free: 15.02 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.008204/0.948, allocations: 5.552 MB / 0.792 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.9507, allocations: 2.006 MB / 0.794 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009829/0.9517, allocations: 0.7335 MB / 0.7947 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.9523, allocations: 431.1 kB / 0.7951 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.9537, allocations: 0.9332 MB / 0.796 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 3.056e-06/0.9538, allocations: 0 / 0.796 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006007/0.9598, allocations: 2.827 MB / 0.7988 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.9599, allocations: 194.6 kB / 0.799 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.9621, allocations: 1.74 MB / 0.8007 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.9623, allocations: 57.14 kB / 0.8007 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/0.963, allocations: 0.8049 MB / 0.8015 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/0.9634, allocations: 464.4 kB / 0.802 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.9638, allocations: 243.9 kB / 0.8022 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.9639, allocations: 356.5 kB / 0.8025 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008822/0.9648, allocations: 0.5584 MB / 0.8031 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.9659, allocations: 0.7611 MB / 0.8038 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.968, allocations: 1.277 MB / 0.8051 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.968, allocations: 0.9062 kB / 0.8051 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003712/0.9717, allocations: 1.724 MB / 0.8068 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.9718, allocations: 5.75 kB / 0.8068 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.9718, allocations: 10.27 kB / 0.8068 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.9728, allocations: 219.7 kB / 0.807 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.9742, allocations: 316.5 kB / 0.8073 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/0.981, allocations: 7.313 MB / 0.8144 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.9827, allocations: 165.6 kB / 0.8146 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.9829, allocations: 56.39 kB / 0.8146 GB, free: 2.973 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 (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.0009421/0.9838, allocations: 470.3 kB / 0.8151 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/0.9842, allocations: 178.3 kB / 0.8153 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.9882, allocations: 2.03 MB / 0.8172 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.9883, allocations: 14.34 kB / 0.8173 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9883, allocations: 2.875 kB / 0.8173 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.9883, allocations: 10.05 kB / 0.8173 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006485/0.9948, allocations: 3.794 MB / 0.821 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.9948, allocations: 0 / 0.821 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.9962, allocations: 311 kB / 0.8213 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008961/0.9971, allocations: 220.8 kB / 0.8215 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.9972, allocations: 35.66 kB / 0.8215 GB, free: 416 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006392/1.004, allocations: 7.344 MB / 0.8287 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.004, allocations: 0 / 0.8287 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004474/1.008, allocations: 1.893 MB / 0.8305 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.009, allocations: 458.3 kB / 0.831 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004604/1.01, allocations: 28 kB / 0.831 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/1.011, allocations: 106.1 kB / 0.8311 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/1.012, allocations: 100.1 kB / 0.8312 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/1.012, allocations: 71.94 kB / 0.8313 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002139/1.014, allocations: 1.244 MB / 0.8325 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/1.014, allocations: 0 / 0.8325 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002144/1.016, allocations: 0.6469 MB / 0.8331 GB, free: 3.941 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.002361/1.018, allocations: 0.7345 MB / 0.8338 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005394/1.024, allocations: 2.412 MB / 0.8362 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/1.024, allocations: 12.55 kB / 0.8362 GB, free: 1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002227/1.026, allocations: 1.37 MB / 0.8375 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/1.029, allocations: 0.5237 MB / 0.838 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008917/1.038, allocations: 4.447 MB / 0.8424 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.04, allocations: 1.462 MB / 0.8438 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009079/1.041, allocations: 183.3 kB / 0.844 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of SimCode: time 1.503e-06/1.041, allocations: 0 / 0.844 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of Templates: time 0.07797/1.119, allocations: 64.07 MB / 0.9066 GB, free: 8.988 MB / 0.6856 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