Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001127/0.001127, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001106/0.001106, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7471/0.7471, allocations: 132.2 MB / 422.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.59 kB / 0.5019 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4528, allocations: 80.21 MB / 0.5802 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1813/0.6341, allocations: 164.5 MB / 0.7409 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.6525, allocations: 16.64 MB / 0.7571 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.6541, allocations: 27.81 kB / 0.7572 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.6558, allocations: 441.4 kB / 0.7576 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.6598, allocations: 1.353 MB / 0.7589 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.6628, allocations: 1.159 MB / 0.76 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002666/0.6654, allocations: 2.35 MB / 0.7623 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.6677, allocations: 1.889 MB / 0.7642 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004599/0.6723, allocations: 1.265 MB / 0.7654 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009932/0.6733, allocations: 0.9296 MB / 0.7663 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.6736, allocations: 192 kB / 0.7665 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.6761, allocations: 1.419 MB / 0.7679 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.6766, allocations: 0.5219 MB / 0.7684 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009717/0.6776, allocations: 0.9523 MB / 0.7693 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.6805, allocations: 2.183 MB / 0.7715 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6805, allocations: 0 / 0.7715 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6805, allocations: 0 / 0.7715 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.173e-05/0.6805, allocations: 0 / 0.7715 GB, free: 13.23 MB / 0.6075 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.003445/0.684, allocations: 2.155 MB / 0.7736 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.684, allocations: 12.03 kB / 0.7736 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.6875, allocations: 0.4894 MB / 0.774 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.6891, allocations: 1.051 MB / 0.7751 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.6892, allocations: 123.3 kB / 0.7752 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.6894, allocations: 163.9 kB / 0.7753 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.6924, allocations: 1.775 MB / 0.7771 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.6924, allocations: 0 / 0.7771 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.6926, allocations: 72 kB / 0.7771 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.6926, allocations: 40 kB / 0.7772 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.6955, allocations: 1.827 MB / 0.779 GB, free: 5.363 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.006943/0.7025, allocations: 5.024 MB / 0.7839 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.7051, allocations: 1.668 MB / 0.7855 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.7061, allocations: 0.621 MB / 0.7861 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008232/0.707, allocations: 0.8195 MB / 0.7869 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.7084, allocations: 0.8135 MB / 0.7877 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.916e-06/0.7084, allocations: 4 kB / 0.7877 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.005839/0.7143, allocations: 2.427 MB / 0.7901 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/0.7144, allocations: 197.2 kB / 0.7903 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.7155, allocations: 0.7984 MB / 0.791 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.7157, allocations: 53.7 kB / 0.7911 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.7162, allocations: 0.6171 MB / 0.7917 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.7166, allocations: 461.3 kB / 0.7921 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/0.7169, allocations: 234.8 kB / 0.7924 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7171, allocations: 357.9 kB / 0.7927 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008922/0.718, allocations: 462.4 kB / 0.7931 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.719, allocations: 0.6072 MB / 0.7937 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.721, allocations: 1.064 MB / 0.7948 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.721, allocations: 3.984 kB / 0.7948 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003297/0.7243, allocations: 1.46 MB / 0.7962 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7243, allocations: 10.28 kB / 0.7962 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7244, allocations: 8.094 kB / 0.7962 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009089/0.7253, allocations: 192.1 kB / 0.7964 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.7267, allocations: 323.6 kB / 0.7967 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005677/0.7324, allocations: 7.29 MB / 0.8038 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.7339, allocations: 150.9 kB / 0.804 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.734, allocations: 47.97 kB / 0.804 GB, free: 10.21 MB / 0.6387 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.0007641/0.7348, allocations: 365.5 kB / 0.8044 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.7351, allocations: 126.5 kB / 0.8045 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/0.739, allocations: 1.752 MB / 0.8062 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.7391, allocations: 12 kB / 0.8062 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.7391, allocations: 4 kB / 0.8062 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.7391, allocations: 3.984 kB / 0.8062 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.7447, allocations: 3.256 MB / 0.8094 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.7447, allocations: 3.938 kB / 0.8094 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.7462, allocations: 307.5 kB / 0.8097 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007965/0.747, allocations: 184.2 kB / 0.8099 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.501e-05/0.7471, allocations: 35.97 kB / 0.8099 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3442/1.091, allocations: 7.315 MB / 0.8171 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.091, allocations: 0 / 0.8171 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/1.096, allocations: 1.606 MB / 0.8186 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008221/1.097, allocations: 385.2 kB / 0.819 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.097, allocations: 26.77 kB / 0.819 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.098, allocations: 112 kB / 0.8191 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/1.098, allocations: 108.8 kB / 0.8192 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.099, allocations: 68.56 kB / 0.8193 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000983/1.1, allocations: 0.5455 MB / 0.8198 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.1, allocations: 0 / 0.8198 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002005/1.102, allocations: 0.5666 MB / 0.8204 GB, free: 212.1 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.002018/1.104, allocations: 0.7059 MB / 0.8211 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005539/1.109, allocations: 2.198 MB / 0.8232 GB, free: 211 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.109, allocations: 6.375 kB / 0.8232 GB, free: 211 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/1.111, allocations: 1.268 MB / 0.8245 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.114, allocations: 0.4947 MB / 0.8249 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/1.121, allocations: 3.568 MB / 0.8284 GB, free: 208 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.122, allocations: 1.281 MB / 0.8297 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007531/1.122, allocations: 161.4 kB / 0.8298 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.302e-06/1.122, allocations: 0 / 0.8298 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.05714/1.18, allocations: 54.76 MB / 0.8833 GB, free: 164.3 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sources.Examples.Outside_CpLowRiseCalcHelperMain.o] Error 1