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.00146/0.00146, allocations: 105 kB / 16.27 MB, free: 5.988 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.001563/0.001563, allocations: 193.7 kB / 17.2 MB, free: 5.613 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8042/0.8042, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.91 kB / 0.506 GB, free: 8.367 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3452, allocations: 80.93 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1824/0.5276, allocations: 166.8 MB / 0.7479 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3716/0.8993, allocations: 16.81 MB / 0.7644 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.9007, allocations: 28.34 kB / 0.7644 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.9026, allocations: 0.5035 MB / 0.7649 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.9071, allocations: 1.478 MB / 0.7663 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/0.9109, allocations: 1.264 MB / 0.7676 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003988/0.9149, allocations: 2.351 MB / 0.7699 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.9181, allocations: 1.895 MB / 0.7717 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.9223, allocations: 1.266 MB / 0.7729 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.9237, allocations: 0.9039 MB / 0.7738 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.9241, allocations: 195.3 kB / 0.774 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.9273, allocations: 1.377 MB / 0.7754 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.9278, allocations: 0.5273 MB / 0.7759 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009576/0.9288, allocations: 0.9409 MB / 0.7768 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.9322, allocations: 2.861 MB / 0.7796 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9322, allocations: 2.406 kB / 0.7796 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9323, allocations: 0.8125 kB / 0.7796 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.9323, allocations: 3.938 kB / 0.7796 GB, free: 0.7852 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003078/0.9354, allocations: 2.15 MB / 0.7817 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.9354, allocations: 10.52 kB / 0.7817 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003379/0.9388, allocations: 0.5037 MB / 0.7822 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.9404, allocations: 1.044 MB / 0.7832 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.9405, allocations: 126.2 kB / 0.7833 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.9407, allocations: 162.4 kB / 0.7835 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.9434, allocations: 1.773 MB / 0.7852 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.9434, allocations: 0 / 0.7852 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.9435, allocations: 76.5 kB / 0.7853 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.9436, allocations: 37.12 kB / 0.7853 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.9462, allocations: 1.826 MB / 0.7871 GB, free: 15.09 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.006949/0.9532, allocations: 5.048 MB / 0.792 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.9557, allocations: 1.672 MB / 0.7937 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009431/0.9567, allocations: 0.6241 MB / 0.7943 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009323/0.9576, allocations: 0.801 MB / 0.7951 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.959, allocations: 0.8174 MB / 0.7959 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.875e-06/0.959, allocations: 0 / 0.7959 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.005937/0.9649, allocations: 2.432 MB / 0.7982 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.9651, allocations: 206.4 kB / 0.7984 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.9661, allocations: 0.7931 MB / 0.7992 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.9663, allocations: 55.14 kB / 0.7993 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/0.9668, allocations: 0.6143 MB / 0.7999 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/0.9672, allocations: 460.3 kB / 0.8003 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/0.9675, allocations: 243.3 kB / 0.8005 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9677, allocations: 349.3 kB / 0.8009 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008571/0.9685, allocations: 465.2 kB / 0.8013 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.9696, allocations: 0.6009 MB / 0.8019 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.9716, allocations: 1.063 MB / 0.8029 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.9716, allocations: 3.906 kB / 0.8029 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003119/0.9747, allocations: 1.474 MB / 0.8044 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.9747, allocations: 5.25 kB / 0.8044 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.9747, allocations: 4.219 kB / 0.8044 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/0.9756, allocations: 195 kB / 0.8046 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.977, allocations: 319.6 kB / 0.8049 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.9834, allocations: 7.292 MB / 0.812 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.9847, allocations: 136 kB / 0.8121 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.794e-05/0.9848, allocations: 53.8 kB / 0.8122 GB, free: 2.746 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 (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.0007438/0.9855, allocations: 364.5 kB / 0.8125 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.9858, allocations: 125 kB / 0.8126 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.9894, allocations: 1.747 MB / 0.8144 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.9895, allocations: 13.84 kB / 0.8144 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.9895, allocations: 2.844 kB / 0.8144 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.9895, allocations: 11.67 kB / 0.8144 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/0.9949, allocations: 3.257 MB / 0.8176 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.9949, allocations: 7.531 kB / 0.8176 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.9962, allocations: 306.2 kB / 0.8179 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007235/0.9969, allocations: 189.9 kB / 0.818 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/0.997, allocations: 38.72 kB / 0.8181 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00603/1.003, allocations: 7.325 MB / 0.8252 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.003, allocations: 0 / 0.8252 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/1.007, allocations: 1.61 MB / 0.8268 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/1.007, allocations: 373.8 kB / 0.8272 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.008, allocations: 27.44 kB / 0.8272 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.009, allocations: 96.56 kB / 0.8273 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.009, allocations: 98.92 kB / 0.8274 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.009, allocations: 65.55 kB / 0.8274 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007016/1.01, allocations: 0.5506 MB / 0.828 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.235e-06/1.01, allocations: 0 / 0.828 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001392/1.011, allocations: 0.5585 MB / 0.8285 GB, free: 7.426 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.002033/1.013, allocations: 0.7149 MB / 0.8292 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004502/1.018, allocations: 2.201 MB / 0.8314 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.018, allocations: 7.891 kB / 0.8314 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/1.019, allocations: 1.256 MB / 0.8326 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/1.022, allocations: 0.5054 MB / 0.8331 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/1.027, allocations: 2.857 MB / 0.8359 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009399/1.028, allocations: 1.265 MB / 0.8371 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/1.029, allocations: 171.3 kB / 0.8373 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/1.029, allocations: 0 / 0.8373 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.06052/1.089, allocations: 54.77 MB / 0.8908 GB, free: 9.129 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++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