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.001295/0.001295, allocations: 109.7 kB / 16.41 MB, free: 6.496 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.001529/0.001529, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8612/0.8612, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 67.5 kB / 0.5863 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1772, allocations: 80.93 MB / 0.6654 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5476/0.7248, allocations: 167.3 MB / 0.8287 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.7483, allocations: 16.86 MB / 0.8452 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.7501, allocations: 29.66 kB / 0.8452 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.7519, allocations: 0.5301 MB / 0.8457 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.757, allocations: 1.499 MB / 0.8472 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.7607, allocations: 1.287 MB / 0.8484 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00345/0.7642, allocations: 2.356 MB / 0.8507 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.7665, allocations: 1.576 MB / 0.8523 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/0.7708, allocations: 1.318 MB / 0.8535 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.7723, allocations: 0.8945 MB / 0.8544 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003215/0.7726, allocations: 203.8 kB / 0.8546 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.7758, allocations: 1.408 MB / 0.856 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.7763, allocations: 0.529 MB / 0.8565 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.7774, allocations: 0.9406 MB / 0.8574 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005118/0.7826, allocations: 2.935 MB / 0.8603 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7826, allocations: 0 / 0.8603 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7826, allocations: 0 / 0.8603 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.464e-05/0.7826, allocations: 7.922 kB / 0.8603 GB, free: 7.781 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.004323/0.787, allocations: 2.21 MB / 0.8625 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.787, allocations: 9.109 kB / 0.8625 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.7907, allocations: 0.5061 MB / 0.863 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.7929, allocations: 1.087 MB / 0.864 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.793, allocations: 127.2 kB / 0.8641 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.7933, allocations: 163.9 kB / 0.8643 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/0.7969, allocations: 1.779 MB / 0.866 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.7969, allocations: 0 / 0.866 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/0.7971, allocations: 76 kB / 0.8661 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.7971, allocations: 40 kB / 0.8661 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/0.8008, allocations: 1.82 MB / 0.8679 GB, free: 15.8 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.009042/0.8098, allocations: 5.002 MB / 0.8728 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.8131, allocations: 1.591 MB / 0.8744 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.8143, allocations: 0.5577 MB / 0.8749 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.8153, allocations: 0.8078 MB / 0.8757 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/0.8171, allocations: 0.8216 MB / 0.8765 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 6.362e-06/0.8171, allocations: 3.984 kB / 0.8765 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006549/0.8236, allocations: 2.432 MB / 0.8789 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.8238, allocations: 201.2 kB / 0.8791 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.8251, allocations: 0.7907 MB / 0.8798 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.8253, allocations: 53.7 kB / 0.8799 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006454/0.8259, allocations: 0.6264 MB / 0.8805 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005027/0.8264, allocations: 483.9 kB / 0.881 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/0.8269, allocations: 238.8 kB / 0.8812 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.8271, allocations: 365.9 kB / 0.8815 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.8281, allocations: 462.3 kB / 0.882 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.8294, allocations: 0.6033 MB / 0.8826 GB, free: 56 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.8317, allocations: 1.068 MB / 0.8836 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8317, allocations: 0 / 0.8836 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003884/0.8356, allocations: 1.461 MB / 0.885 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.8356, allocations: 15.92 kB / 0.8851 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.8356, allocations: 0 / 0.8851 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/0.8366, allocations: 192.2 kB / 0.8852 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.8381, allocations: 323.5 kB / 0.8855 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007176/0.8453, allocations: 7.288 MB / 0.8927 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.8467, allocations: 149.7 kB / 0.8928 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.8468, allocations: 51.95 kB / 0.8929 GB, free: 4.773 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.0008635/0.8477, allocations: 375 kB / 0.8932 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.848, allocations: 127.2 kB / 0.8933 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/0.8524, allocations: 1.736 MB / 0.895 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.8524, allocations: 16 kB / 0.895 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8524, allocations: 0 / 0.895 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.8524, allocations: 12.06 kB / 0.8951 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006549/0.859, allocations: 3.25 MB / 0.8982 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.859, allocations: 0 / 0.8982 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.8604, allocations: 307.5 kB / 0.8985 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000778/0.8612, allocations: 184.1 kB / 0.8987 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.8613, allocations: 39.97 kB / 0.8987 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006999/0.8683, allocations: 7.307 MB / 0.9059 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8683, allocations: 3.969 kB / 0.9059 GB, free: 6.598 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004119/0.8724, allocations: 1.612 MB / 0.9075 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007819/0.8732, allocations: 391.7 kB / 0.9078 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.8734, allocations: 31.94 kB / 0.9079 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.8744, allocations: 89.97 kB / 0.9079 GB, free: 4.434 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/0.8747, allocations: 109.1 kB / 0.908 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.8748, allocations: 71.94 kB / 0.9081 GB, free: 4.254 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008709/0.8757, allocations: 0.5459 MB / 0.9086 GB, free: 3.715 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8757, allocations: 0 / 0.9086 GB, free: 3.715 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001528/0.8772, allocations: 0.5571 MB / 0.9092 GB, free: 3.156 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.00238/0.8796, allocations: 0.7095 MB / 0.9099 GB, free: 2.625 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003571/0.8832, allocations: 1.738 MB / 0.9116 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.8832, allocations: 0.7969 kB / 0.9116 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.8853, allocations: 1.207 MB / 0.9128 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.8876, allocations: 0.4991 MB / 0.9133 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00636/0.8939, allocations: 2.872 MB / 0.9161 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.895, allocations: 1.273 MB / 0.9173 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/0.8957, allocations: 167.3 kB / 0.9175 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of SimCode: time 6.92e-07/0.8957, allocations: 0 / 0.9175 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.06624/0.9619, allocations: 54.98 MB / 0.9712 GB, free: 3.754 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