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.001619/0.001619, allocations: 111 kB / 16.38 MB, free: 6.461 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.001565/0.001565, allocations: 190.2 kB / 17.32 MB, free: 5.773 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 72.69 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.169, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.669/0.838, allocations: 166.8 MB / 0.8232 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01946/0.8575, allocations: 16.83 MB / 0.8396 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.86, allocations: 29.38 kB / 0.8396 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.862, allocations: 0.5006 MB / 0.8401 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.8671, allocations: 1.47 MB / 0.8416 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.8707, allocations: 1.275 MB / 0.8428 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00359/0.8743, allocations: 2.359 MB / 0.8451 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.8768, allocations: 1.894 MB / 0.847 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.8805, allocations: 1.268 MB / 0.8482 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.8818, allocations: 0.9018 MB / 0.8491 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.882, allocations: 191 kB / 0.8493 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.8849, allocations: 1.412 MB / 0.8506 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005367/0.8855, allocations: 0.529 MB / 0.8512 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.8865, allocations: 0.936 MB / 0.8521 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.8905, allocations: 2.926 MB / 0.8549 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8905, allocations: 4 kB / 0.8549 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.027e-06/0.8905, allocations: 2.531 kB / 0.8549 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.742e-05/0.8905, allocations: 3.938 kB / 0.8549 GB, free: 14.23 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.00344/0.894, allocations: 2.147 MB / 0.857 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.894, allocations: 15.97 kB / 0.857 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.8976, allocations: 497.2 kB / 0.8575 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.8993, allocations: 1.082 MB / 0.8586 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/0.8994, allocations: 123.3 kB / 0.8587 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.8996, allocations: 167.9 kB / 0.8589 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/0.9026, allocations: 1.776 MB / 0.8606 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.9027, allocations: 0 / 0.8606 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.9028, allocations: 75.94 kB / 0.8607 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.9029, allocations: 40 kB / 0.8607 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/0.906, allocations: 1.831 MB / 0.8625 GB, free: 6.754 MB / 0.6231 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.007508/0.9135, allocations: 4.977 MB / 0.8673 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.9162, allocations: 1.668 MB / 0.869 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.9173, allocations: 0.6241 MB / 0.8696 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008439/0.9182, allocations: 0.8117 MB / 0.8704 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.9197, allocations: 0.8138 MB / 0.8712 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.655e-06/0.9197, allocations: 0 / 0.8712 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.005954/0.9257, allocations: 2.427 MB / 0.8735 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.9258, allocations: 197.2 kB / 0.8737 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.9269, allocations: 0.7945 MB / 0.8745 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.9271, allocations: 53.7 kB / 0.8746 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.9276, allocations: 0.6172 MB / 0.8752 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.9279, allocations: 465.2 kB / 0.8756 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000357/0.9283, allocations: 234.8 kB / 0.8758 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9284, allocations: 357.9 kB / 0.8762 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009488/0.9294, allocations: 470.3 kB / 0.8766 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.9305, allocations: 0.6073 MB / 0.8772 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.9326, allocations: 1.064 MB / 0.8783 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9326, allocations: 0 / 0.8783 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003436/0.936, allocations: 1.46 MB / 0.8797 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.9361, allocations: 18.94 kB / 0.8797 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.9361, allocations: 3.984 kB / 0.8797 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008863/0.937, allocations: 184.1 kB / 0.8799 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.9385, allocations: 331.5 kB / 0.8802 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005992/0.9445, allocations: 7.277 MB / 0.8873 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.9461, allocations: 142.7 kB / 0.8874 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.9463, allocations: 56.02 kB / 0.8875 GB, free: 11.65 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.0008595/0.9471, allocations: 370.5 kB / 0.8878 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.9475, allocations: 122.6 kB / 0.888 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.9513, allocations: 1.74 MB / 0.8897 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.9514, allocations: 12.09 kB / 0.8897 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.9514, allocations: 11.94 kB / 0.8897 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.9514, allocations: 7.969 kB / 0.8897 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005781/0.9572, allocations: 3.249 MB / 0.8929 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.9573, allocations: 0 / 0.8929 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.9587, allocations: 311.5 kB / 0.8932 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007543/0.9595, allocations: 188.1 kB / 0.8933 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.9596, allocations: 39.97 kB / 0.8934 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005649/0.9653, allocations: 7.311 MB / 0.9005 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.9653, allocations: 3.938 kB / 0.9005 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.969, allocations: 1.611 MB / 0.9021 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/0.9698, allocations: 383.1 kB / 0.9025 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.9699, allocations: 31.94 kB / 0.9025 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.971, allocations: 87.91 kB / 0.9026 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.9713, allocations: 101.1 kB / 0.9027 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.9714, allocations: 71.94 kB / 0.9027 GB, free: 11.14 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007382/0.9722, allocations: 0.5459 MB / 0.9033 GB, free: 10.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9722, allocations: 0 / 0.9033 GB, free: 10.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001504/0.9737, allocations: 0.5531 MB / 0.9038 GB, free: 10.04 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.001693/0.9754, allocations: 0.7216 MB / 0.9045 GB, free: 9.543 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003217/0.9786, allocations: 1.782 MB / 0.9063 GB, free: 7.695 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.9786, allocations: 0.7969 kB / 0.9063 GB, free: 7.695 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.9805, allocations: 1.266 MB / 0.9075 GB, free: 6.367 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.9828, allocations: 0.4982 MB / 0.908 GB, free: 5.898 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.9886, allocations: 2.822 MB / 0.9107 GB, free: 3.043 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/0.9894, allocations: 1.269 MB / 0.912 GB, free: 1.742 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/0.99, allocations: 175.3 kB / 0.9121 GB, free: 1.57 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.99, allocations: 0 / 0.9121 GB, free: 1.57 MB / 0.67 GB Notification: Performance of Templates: time 0.0614/1.051, allocations: 54.74 MB / 0.9656 GB, free: 10.86 MB / 0.7325 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