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.001163/0.001163, allocations: 112.4 kB / 16.37 MB, free: 6.348 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.001137/0.001137, allocations: 188.7 kB / 17.3 MB, free: 5.895 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7382/0.7382, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 66.88 kB / 0.5862 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1409, allocations: 80.93 MB / 0.6652 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4566/0.5975, allocations: 166.9 MB / 0.8283 GB, free: 284 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.6149, allocations: 17.1 MB / 0.8449 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.6159, allocations: 32.25 kB / 0.845 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.6172, allocations: 0.5204 MB / 0.8455 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.6209, allocations: 1.646 MB / 0.8471 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.6237, allocations: 1.385 MB / 0.8484 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.6258, allocations: 2.524 MB / 0.8509 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.6277, allocations: 1.957 MB / 0.8528 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.6305, allocations: 1.334 MB / 0.8541 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.6315, allocations: 1.035 MB / 0.8551 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.6318, allocations: 209.9 kB / 0.8553 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.6342, allocations: 1.538 MB / 0.8568 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005451/0.6347, allocations: 0.7597 MB / 0.8576 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009448/0.6357, allocations: 1.127 MB / 0.8587 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003514/0.6392, allocations: 3.403 MB / 0.862 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6392, allocations: 4 kB / 0.862 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6392, allocations: 0 / 0.862 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.48e-05/0.6393, allocations: 0 / 0.862 GB, free: 5.715 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.003635/0.6429, allocations: 2.618 MB / 0.8646 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.643, allocations: 9.109 kB / 0.8646 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.6463, allocations: 0.5474 MB / 0.8651 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.6483, allocations: 1.591 MB / 0.8667 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.609e-05/0.6484, allocations: 123.3 kB / 0.8668 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.6486, allocations: 167.9 kB / 0.8669 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.6514, allocations: 1.872 MB / 0.8688 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.6514, allocations: 0 / 0.8688 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.6516, allocations: 72 kB / 0.8688 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.6516, allocations: 40 kB / 0.8689 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.6547, allocations: 2.042 MB / 0.8709 GB, free: 12.46 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.007093/0.6618, allocations: 5.516 MB / 0.8763 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.6646, allocations: 1.989 MB / 0.8782 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.6657, allocations: 0.7374 MB / 0.8789 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/0.6662, allocations: 433.6 kB / 0.8793 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.6677, allocations: 0.9232 MB / 0.8802 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.655e-06/0.6677, allocations: 4 kB / 0.8802 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.005891/0.6736, allocations: 2.825 MB / 0.883 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.6737, allocations: 193.2 kB / 0.8832 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.6757, allocations: 1.742 MB / 0.8849 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.6759, allocations: 57.7 kB / 0.8849 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.6765, allocations: 0.8073 MB / 0.8857 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.6768, allocations: 465.2 kB / 0.8862 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.6772, allocations: 238.8 kB / 0.8864 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6773, allocations: 357.9 kB / 0.8867 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009662/0.6783, allocations: 0.5609 MB / 0.8873 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.6794, allocations: 0.7623 MB / 0.888 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.6815, allocations: 1.278 MB / 0.8893 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.6815, allocations: 8 kB / 0.8893 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003455/0.685, allocations: 1.729 MB / 0.891 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.685, allocations: 4 kB / 0.891 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.685, allocations: 0 / 0.891 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009815/0.686, allocations: 216.2 kB / 0.8912 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.6874, allocations: 323.5 kB / 0.8915 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.693, allocations: 7.32 MB / 0.8986 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6943, allocations: 141.2 kB / 0.8988 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.6945, allocations: 55.95 kB / 0.8988 GB, free: 14.38 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.000852/0.6953, allocations: 473.4 kB / 0.8993 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.6956, allocations: 169.9 kB / 0.8994 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.6995, allocations: 2.026 MB / 0.9014 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.6996, allocations: 16 kB / 0.9014 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6996, allocations: 0 / 0.9014 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.6996, allocations: 11.97 kB / 0.9014 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005647/0.7053, allocations: 3.789 MB / 0.9051 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7053, allocations: 7.875 kB / 0.9052 GB, free: 7.781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.7066, allocations: 311.6 kB / 0.9055 GB, free: 7.477 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/0.7074, allocations: 200.1 kB / 0.9056 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/0.7075, allocations: 43.91 kB / 0.9057 GB, free: 7.223 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005256/0.7128, allocations: 7.351 MB / 0.9129 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7128, allocations: 0 / 0.9129 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.7164, allocations: 1.883 MB / 0.9147 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/0.7171, allocations: 462.3 kB / 0.9151 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.7174, allocations: 24 kB / 0.9152 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.7185, allocations: 96.98 kB / 0.9153 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.7187, allocations: 101.2 kB / 0.9154 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.7188, allocations: 63.95 kB / 0.9154 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001514/0.7203, allocations: 1.256 MB / 0.9166 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.7203, allocations: 0 / 0.9166 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001516/0.7219, allocations: 0.6274 MB / 0.9173 GB, free: 10.61 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.001583/0.7234, allocations: 0.7582 MB / 0.918 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002992/0.7264, allocations: 2 MB / 0.92 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7265, allocations: 0.7969 kB / 0.92 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.7283, allocations: 1.375 MB / 0.9213 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.7303, allocations: 0.5158 MB / 0.9218 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.7365, allocations: 3.631 MB / 0.9253 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.7374, allocations: 1.458 MB / 0.9268 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/0.738, allocations: 183.3 kB / 0.9269 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.738, allocations: 0 / 0.9269 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of Templates: time 0.06071/0.7988, allocations: 64.07 MB / 0.9895 GB, free: 0.6914 MB / 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