Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.0009387, allocations: 97.78 kB / 16.02 MB, free: 76 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.001079/0.001079, allocations: 187.8 kB / 16.92 MB, free: 6.75 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9758/0.9758, allocations: 135.3 MB / 427.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003966, allocations: 11.94 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1954, allocations: 82.31 MB / 0.5886 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5029/0.6984, allocations: 162.3 MB / 0.7471 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.7186, allocations: 16.63 MB / 0.7633 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.7201, allocations: 24.03 kB / 0.7634 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.7219, allocations: 441.4 kB / 0.7638 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/0.7274, allocations: 1.327 MB / 0.7651 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.7308, allocations: 1.123 MB / 0.7662 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003199/0.734, allocations: 2.514 MB / 0.7686 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.7367, allocations: 1.63 MB / 0.7702 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.7416, allocations: 0.9704 MB / 0.7712 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.7428, allocations: 0.6837 MB / 0.7718 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.7431, allocations: 40 kB / 0.7719 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.7462, allocations: 1.392 MB / 0.7732 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004974/0.7467, allocations: 342.5 kB / 0.7736 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.7478, allocations: 0.7392 MB / 0.7743 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.7509, allocations: 2.112 MB / 0.7763 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7509, allocations: 4 kB / 0.7763 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.751, allocations: 4 kB / 0.7764 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.367e-05/0.751, allocations: 0 / 0.7764 GB, free: 12.25 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003388/0.7544, allocations: 1.767 MB / 0.7781 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.7544, allocations: 12.03 kB / 0.7781 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/0.7585, allocations: 0.5051 MB / 0.7786 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.76, allocations: 1.043 MB / 0.7796 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/0.7601, allocations: 123.3 kB / 0.7797 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.7603, allocations: 171.9 kB / 0.7799 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.7632, allocations: 1.78 MB / 0.7816 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.7632, allocations: 4 kB / 0.7816 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.7634, allocations: 68 kB / 0.7817 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.7634, allocations: 40 kB / 0.7817 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.7664, allocations: 1.839 MB / 0.7835 GB, free: 4.738 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.007079/0.7735, allocations: 5.067 MB / 0.7885 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.7762, allocations: 1.673 MB / 0.7901 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.7773, allocations: 0.6241 MB / 0.7907 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/0.7781, allocations: 0.8078 MB / 0.7915 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.7796, allocations: 0.8216 MB / 0.7923 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.006e-06/0.7796, allocations: 4 kB / 0.7923 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.005868/0.7855, allocations: 2.451 MB / 0.7947 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7856, allocations: 197.2 kB / 0.7949 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.7866, allocations: 0.7906 MB / 0.7957 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.7868, allocations: 53.7 kB / 0.7957 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.7873, allocations: 0.6249 MB / 0.7963 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.7876, allocations: 457.2 kB / 0.7968 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.7878, allocations: 101.7 kB / 0.7969 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7879, allocations: 357.9 kB / 0.7972 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009386/0.7889, allocations: 470.4 kB / 0.7976 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.79, allocations: 0.6033 MB / 0.7982 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.792, allocations: 1.075 MB / 0.7993 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.792, allocations: 0 / 0.7993 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003299/0.7953, allocations: 1.476 MB / 0.8007 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.7954, allocations: 4 kB / 0.8007 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7954, allocations: 3.938 kB / 0.8007 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009274/0.7963, allocations: 204.1 kB / 0.8009 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.7978, allocations: 327.5 kB / 0.8012 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005571/0.8034, allocations: 6.767 MB / 0.8079 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.8049, allocations: 162.9 kB / 0.808 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.805, allocations: 55.95 kB / 0.8081 GB, free: 10.16 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 (144): * Single equations (assignments): 139 * 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.0009065/0.8059, allocations: 364.3 kB / 0.8084 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.8061, allocations: 130.5 kB / 0.8085 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/0.81, allocations: 1.752 MB / 0.8102 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.8101, allocations: 16 kB / 0.8103 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.8101, allocations: 0 / 0.8103 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.8101, allocations: 7.969 kB / 0.8103 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/0.8158, allocations: 3.264 MB / 0.8135 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.8158, allocations: 0 / 0.8135 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.8172, allocations: 307.6 kB / 0.8137 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008416/0.8181, allocations: 196.1 kB / 0.8139 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.8182, allocations: 39.91 kB / 0.814 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005653/0.8239, allocations: 6.811 MB / 0.8206 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8239, allocations: 0 / 0.8206 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/0.8278, allocations: 1.621 MB / 0.8222 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009047/0.8287, allocations: 402.9 kB / 0.8226 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.829, allocations: 24 kB / 0.8226 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.8304, allocations: 123.8 kB / 0.8227 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.8307, allocations: 105.2 kB / 0.8228 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/0.8309, allocations: 71.95 kB / 0.8229 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008902/0.8318, allocations: 0.5498 MB / 0.8234 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8318, allocations: 0 / 0.8234 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001809/0.8336, allocations: 0.5532 MB / 0.824 GB, free: 9.012 MB / 0.6387 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.001663/0.8353, allocations: 0.7209 MB / 0.8247 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003542/0.8388, allocations: 1.793 MB / 0.8264 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.8389, allocations: 0.7969 kB / 0.8264 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.8409, allocations: 1.27 MB / 0.8277 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.8434, allocations: 471.9 kB / 0.8281 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/0.8501, allocations: 3.635 MB / 0.8317 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009249/0.8511, allocations: 1.276 MB / 0.8329 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/0.8518, allocations: 159.3 kB / 0.8331 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of SimCode: time 1.172e-06/0.8518, allocations: 0 / 0.8331 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.4304/1.282, allocations: 54.54 MB / 0.8863 GB, free: 211.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRiseCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseFunctions.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_CpLowRiseCalcHelperMain.o] Error 1