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.001182/0.001182, allocations: 109.8 kB / 16.41 MB, free: 6.008 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.001166/0.001166, allocations: 181.7 kB / 17.34 MB, free: 5.629 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.743/0.743, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.53 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1428, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4745/0.6173, allocations: 166.8 MB / 0.8282 GB, free: 464 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.636, allocations: 16.83 MB / 0.8446 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.6376, allocations: 32.03 kB / 0.8447 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.6389, allocations: 0.4946 MB / 0.8451 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00374/0.6427, allocations: 1.479 MB / 0.8466 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.6455, allocations: 1.267 MB / 0.8478 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002144/0.6477, allocations: 2.367 MB / 0.8501 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.6496, allocations: 1.89 MB / 0.852 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.6528, allocations: 1.295 MB / 0.8532 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.6538, allocations: 0.9004 MB / 0.8541 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.6541, allocations: 193.6 kB / 0.8543 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.6571, allocations: 1.408 MB / 0.8557 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.6576, allocations: 0.5261 MB / 0.8562 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000986/0.6586, allocations: 0.9407 MB / 0.8571 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.6627, allocations: 2.929 MB / 0.86 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6627, allocations: 0 / 0.86 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6627, allocations: 0 / 0.86 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.729e-05/0.6628, allocations: 0 / 0.86 GB, free: 7.906 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.00358/0.6663, allocations: 2.151 MB / 0.8621 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6664, allocations: 13.11 kB / 0.8621 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.6698, allocations: 0.4895 MB / 0.8626 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.6715, allocations: 1.086 MB / 0.8636 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-05/0.6716, allocations: 119.3 kB / 0.8637 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.6718, allocations: 163.9 kB / 0.8639 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.6747, allocations: 1.775 MB / 0.8656 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.6748, allocations: 7.922 kB / 0.8656 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.6749, allocations: 68 kB / 0.8657 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.6749, allocations: 40 kB / 0.8657 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.6781, allocations: 1.831 MB / 0.8675 GB, free: 8 kB / 0.6231 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.00715/0.6852, allocations: 4.969 MB / 0.8724 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.6879, allocations: 1.673 MB / 0.874 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.689, allocations: 0.6241 MB / 0.8746 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008432/0.6899, allocations: 0.8078 MB / 0.8754 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/0.6913, allocations: 0.8215 MB / 0.8762 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.905e-06/0.6913, allocations: 7.938 kB / 0.8762 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.00571/0.6971, allocations: 2.423 MB / 0.8786 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6972, allocations: 197.2 kB / 0.8788 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009956/0.6982, allocations: 0.7945 MB / 0.8796 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.6983, allocations: 53.7 kB / 0.8796 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.6987, allocations: 0.6211 MB / 0.8802 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.6991, allocations: 465.2 kB / 0.8807 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/0.6994, allocations: 238.8 kB / 0.8809 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.6997, allocations: 353.9 kB / 0.8812 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009474/0.7006, allocations: 466.4 kB / 0.8817 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.7017, allocations: 0.6111 MB / 0.8823 GB, free: 180 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.7037, allocations: 1.06 MB / 0.8833 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7037, allocations: 0 / 0.8833 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003156/0.7069, allocations: 1.464 MB / 0.8847 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7069, allocations: 11.94 kB / 0.8847 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7069, allocations: 0 / 0.8847 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.7078, allocations: 192.1 kB / 0.8849 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.7092, allocations: 327.6 kB / 0.8852 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.715, allocations: 7.286 MB / 0.8924 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.7164, allocations: 138.8 kB / 0.8925 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.7165, allocations: 55.95 kB / 0.8925 GB, free: 4.902 MB / 0.6544 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.0007948/0.7173, allocations: 357.5 kB / 0.8929 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.7176, allocations: 130.5 kB / 0.893 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/0.7212, allocations: 1.74 MB / 0.8947 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.7213, allocations: 16 kB / 0.8947 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7213, allocations: 4 kB / 0.8947 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.7213, allocations: 7.969 kB / 0.8947 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005564/0.7269, allocations: 3.249 MB / 0.8979 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7269, allocations: 0 / 0.8979 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.7282, allocations: 315.5 kB / 0.8982 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006751/0.7289, allocations: 184.1 kB / 0.8984 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.47e-05/0.729, allocations: 35.97 kB / 0.8984 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/0.7344, allocations: 7.319 MB / 0.9056 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7344, allocations: 7.875 kB / 0.9056 GB, free: 6.719 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.7376, allocations: 1.615 MB / 0.9071 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.7381, allocations: 379.1 kB / 0.9075 GB, free: 4.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.7383, allocations: 28 kB / 0.9075 GB, free: 4.652 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.7393, allocations: 89.41 kB / 0.9076 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.7395, allocations: 97.17 kB / 0.9077 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.7396, allocations: 71.95 kB / 0.9078 GB, free: 4.398 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006771/0.7403, allocations: 0.5459 MB / 0.9083 GB, free: 3.859 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7403, allocations: 0 / 0.9083 GB, free: 3.859 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001356/0.7417, allocations: 0.557 MB / 0.9089 GB, free: 3.301 MB / 0.67 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.001526/0.7432, allocations: 0.7104 MB / 0.9095 GB, free: 2.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.746, allocations: 1.785 MB / 0.9113 GB, free: 0.918 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7461, allocations: 4.797 kB / 0.9113 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.7478, allocations: 1.258 MB / 0.9125 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.7496, allocations: 0.5104 MB / 0.913 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.7547, allocations: 2.806 MB / 0.9158 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.7555, allocations: 1.269 MB / 0.917 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.756, allocations: 171.3 kB / 0.9172 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.873e-06/0.756, allocations: 0 / 0.9172 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.05437/0.8104, allocations: 54.91 MB / 0.9708 GB, free: 3.922 MB / 0.7325 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++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_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