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.001241/0.001241, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001294/0.001294, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.408/1.408, 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/package.mo): time 0.7841/0.7841, allocations: 132.2 MB / 423.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 0.5024 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.343, allocations: 80.18 MB / 0.5807 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1722/0.5152, allocations: 166.8 MB / 0.7436 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4112/0.9264, allocations: 16.81 MB / 0.76 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.9281, allocations: 27.78 kB / 0.7601 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.9296, allocations: 0.5093 MB / 0.7606 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00429/0.9339, allocations: 1.466 MB / 0.762 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.9375, allocations: 1.269 MB / 0.7632 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003913/0.9414, allocations: 2.354 MB / 0.7655 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002765/0.9442, allocations: 1.891 MB / 0.7674 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.9485, allocations: 1.26 MB / 0.7686 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.9505, allocations: 0.8981 MB / 0.7695 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004976/0.951, allocations: 197.2 kB / 0.7697 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003567/0.9546, allocations: 1.381 MB / 0.771 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000555/0.9551, allocations: 0.5299 MB / 0.7715 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.9565, allocations: 0.9415 MB / 0.7725 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.961, allocations: 2.856 MB / 0.7753 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9611, allocations: 0.9688 kB / 0.7753 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9611, allocations: 0 / 0.7753 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.1e-05/0.9611, allocations: 0 / 0.7753 GB, free: 1.102 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.003663/0.9648, allocations: 2.156 MB / 0.7774 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.9648, allocations: 11.47 kB / 0.7774 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.9684, allocations: 0.4979 MB / 0.7779 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.9699, allocations: 1.045 MB / 0.7789 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.674e-05/0.97, allocations: 124.6 kB / 0.779 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.9702, allocations: 160 kB / 0.7791 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.9734, allocations: 1.784 MB / 0.7809 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.9734, allocations: 0 / 0.7809 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.9736, allocations: 75.59 kB / 0.781 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.9736, allocations: 37.34 kB / 0.781 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.9766, allocations: 1.827 MB / 0.7828 GB, free: 15.4 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.007412/0.984, allocations: 5.047 MB / 0.7877 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.9868, allocations: 1.665 MB / 0.7893 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.9878, allocations: 0.6242 MB / 0.7899 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009895/0.9888, allocations: 0.8076 MB / 0.7907 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.9903, allocations: 0.8195 MB / 0.7915 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.835e-06/0.9903, allocations: 0 / 0.7915 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.005859/0.9962, allocations: 2.428 MB / 0.7939 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.9963, allocations: 200.1 kB / 0.7941 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.9974, allocations: 0.7907 MB / 0.7949 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9975, allocations: 55.58 kB / 0.7949 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/0.998, allocations: 0.6197 MB / 0.7955 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.9983, allocations: 462.7 kB / 0.796 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/0.9987, allocations: 240 kB / 0.7962 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9988, allocations: 357 kB / 0.7965 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/0.9998, allocations: 471.2 kB / 0.797 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/1.001, allocations: 0.5947 MB / 0.7976 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/1.003, allocations: 1.065 MB / 0.7986 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.003, allocations: 3.625 kB / 0.7986 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003331/1.006, allocations: 1.467 MB / 0.8 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.006, allocations: 3.406 kB / 0.8 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.006, allocations: 3.594 kB / 0.8001 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000918/1.007, allocations: 199.7 kB / 0.8002 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/1.009, allocations: 322.6 kB / 0.8006 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/1.015, allocations: 7.292 MB / 0.8077 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.016, allocations: 140.5 kB / 0.8078 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/1.016, allocations: 55.03 kB / 0.8079 GB, free: 3.074 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.001076/1.017, allocations: 372.2 kB / 0.8082 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/1.018, allocations: 123.5 kB / 0.8083 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/1.022, allocations: 1.739 MB / 0.81 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.022, allocations: 17.84 kB / 0.81 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.022, allocations: 0 / 0.81 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/1.022, allocations: 7.156 kB / 0.8101 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006384/1.029, allocations: 3.257 MB / 0.8132 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/1.029, allocations: 0 / 0.8132 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.03, allocations: 310.3 kB / 0.8135 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/1.031, allocations: 191.7 kB / 0.8137 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/1.031, allocations: 40.53 kB / 0.8138 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006488/1.038, allocations: 7.322 MB / 0.8209 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.038, allocations: 1.125 kB / 0.8209 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/1.042, allocations: 1.61 MB / 0.8225 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/1.043, allocations: 385.3 kB / 0.8228 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/1.043, allocations: 30.38 kB / 0.8229 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.044, allocations: 90.3 kB / 0.823 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/1.044, allocations: 100.7 kB / 0.8231 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.045, allocations: 73.31 kB / 0.8231 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009954/1.046, allocations: 0.5441 MB / 0.8237 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.046, allocations: 0 / 0.8237 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002174/1.048, allocations: 0.5598 MB / 0.8242 GB, free: 9.488 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.002178/1.05, allocations: 0.7107 MB / 0.8249 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005529/1.056, allocations: 2.186 MB / 0.827 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.056, allocations: 3.766 kB / 0.827 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/1.058, allocations: 1.268 MB / 0.8283 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.06, allocations: 0.4994 MB / 0.8288 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/1.068, allocations: 2.868 MB / 0.8316 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.069, allocations: 1.269 MB / 0.8328 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006248/1.07, allocations: 167.3 kB / 0.833 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of SimCode: time 1.263e-06/1.07, allocations: 7.031 kB / 0.833 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of Templates: time 0.06702/1.137, allocations: 54.74 MB / 0.8864 GB, free: 12.28 MB / 0.67 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++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/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