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.001074/0.001074, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.00106/0.00106, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8162/0.8162, allocations: 135.1 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 63.91 kB / 0.506 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3852, allocations: 80.9 MB / 0.585 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1871/0.5723, allocations: 166.8 MB / 0.7479 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3925/0.9649, allocations: 16.82 MB / 0.7643 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.9666, allocations: 32.25 kB / 0.7643 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.9682, allocations: 0.4985 MB / 0.7648 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.9726, allocations: 1.48 MB / 0.7663 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.976, allocations: 1.265 MB / 0.7675 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003676/0.9797, allocations: 2.357 MB / 0.7698 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.9824, allocations: 1.885 MB / 0.7717 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.9866, allocations: 1.261 MB / 0.7729 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.9881, allocations: 0.8981 MB / 0.7738 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007508/0.9889, allocations: 195.4 kB / 0.774 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.993, allocations: 1.381 MB / 0.7753 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008389/0.9938, allocations: 0.5229 MB / 0.7758 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.9958, allocations: 0.9518 MB / 0.7767 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005197/1.001, allocations: 2.859 MB / 0.7795 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.001, allocations: 0.8438 kB / 0.7795 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/1.001, allocations: 0 / 0.7795 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001069/1.001, allocations: 0 / 0.7795 GB, free: 0.8477 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.005097/1.006, allocations: 2.147 MB / 0.7816 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.006, allocations: 15.98 kB / 0.7816 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003881/1.01, allocations: 0.5094 MB / 0.7821 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/1.012, allocations: 1.037 MB / 0.7832 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/1.012, allocations: 126.9 kB / 0.7833 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/1.013, allocations: 159.1 kB / 0.7834 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/1.016, allocations: 1.778 MB / 0.7852 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/1.016, allocations: 2.469 kB / 0.7852 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/1.016, allocations: 71.53 kB / 0.7852 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/1.016, allocations: 41.62 kB / 0.7853 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/1.019, allocations: 1.828 MB / 0.7871 GB, free: 15.15 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.007532/1.027, allocations: 5.049 MB / 0.792 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/1.03, allocations: 1.68 MB / 0.7936 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009967/1.031, allocations: 0.6213 MB / 0.7942 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008907/1.031, allocations: 0.806 MB / 0.795 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/1.033, allocations: 0.8215 MB / 0.7958 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.856e-06/1.033, allocations: 0 / 0.7958 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.005874/1.039, allocations: 2.425 MB / 0.7982 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.039, allocations: 195.5 kB / 0.7984 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/1.04, allocations: 0.7976 MB / 0.7992 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/1.04, allocations: 56.83 kB / 0.7992 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/1.041, allocations: 0.6193 MB / 0.7998 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/1.041, allocations: 460.7 kB / 0.8003 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/1.041, allocations: 234.8 kB / 0.8005 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.041, allocations: 354.3 kB / 0.8008 GB, free: 10 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008655/1.042, allocations: 470.2 kB / 0.8013 GB, free: 10 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.043, allocations: 0.5959 MB / 0.8018 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/1.045, allocations: 1.067 MB / 0.8029 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.045, allocations: 1.062 kB / 0.8029 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003335/1.049, allocations: 1.472 MB / 0.8043 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.049, allocations: 5.5 kB / 0.8043 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.049, allocations: 1 kB / 0.8043 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009099/1.05, allocations: 194.3 kB / 0.8045 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.051, allocations: 317.6 kB / 0.8048 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/1.057, allocations: 7.3 MB / 0.812 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.058, allocations: 138.9 kB / 0.8121 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/1.058, allocations: 54.17 kB / 0.8121 GB, free: 2.805 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.0008816/1.059, allocations: 362.9 kB / 0.8125 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/1.06, allocations: 129.3 kB / 0.8126 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/1.063, allocations: 1.741 MB / 0.8143 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.064, allocations: 16.44 kB / 0.8143 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.064, allocations: 5 kB / 0.8143 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/1.064, allocations: 6.594 kB / 0.8143 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/1.07, allocations: 3.268 MB / 0.8175 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.07, allocations: 0 / 0.8175 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.071, allocations: 312.3 kB / 0.8178 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/1.072, allocations: 177.6 kB / 0.818 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/1.072, allocations: 39.73 kB / 0.818 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005559/1.077, allocations: 7.321 MB / 0.8252 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.077, allocations: 0.6875 kB / 0.8252 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/1.081, allocations: 1.613 MB / 0.8268 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006967/1.082, allocations: 379.1 kB / 0.8271 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.082, allocations: 26.47 kB / 0.8271 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.083, allocations: 96.12 kB / 0.8272 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/1.084, allocations: 95.45 kB / 0.8273 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.084, allocations: 64.83 kB / 0.8274 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007796/1.084, allocations: 0.5536 MB / 0.8279 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.11e-07/1.084, allocations: 2.5 kB / 0.8279 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001664/1.086, allocations: 0.559 MB / 0.8285 GB, free: 7.449 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.001827/1.088, allocations: 0.7174 MB / 0.8292 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004603/1.093, allocations: 2.202 MB / 0.8313 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.093, allocations: 4.797 kB / 0.8313 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/1.094, allocations: 1.259 MB / 0.8326 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.097, allocations: 0.4929 MB / 0.833 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/1.103, allocations: 2.85 MB / 0.8358 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/1.104, allocations: 1.265 MB / 0.8371 GB, free: 44 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/1.104, allocations: 167.9 kB / 0.8372 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/1.104, allocations: 3.094 kB / 0.8372 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.06101/1.165, allocations: 54.76 MB / 0.8907 GB, free: 9.188 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