Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.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.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") translateModel(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 107.8 kB / 16.41 MB, free: 6.465 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.001273/0.001273, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8754/0.8754, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.7 kB / 0.5863 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1799, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01099/0.1909, allocations: 8.668 MB / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.7214/0.9124, allocations: 156.3 MB / 0.8264 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/0.915, allocations: 59.38 kB / 0.8265 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.9162, allocations: 346.6 kB / 0.8268 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.9208, allocations: 1.11 MB / 0.8279 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.925, allocations: 1.409 MB / 0.8292 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007438/0.9324, allocations: 5.352 MB / 0.8345 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004456/0.9369, allocations: 3.008 MB / 0.8374 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00497/0.9419, allocations: 2.11 MB / 0.8395 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00424/0.9462, allocations: 2.03 MB / 0.8414 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.9482, allocations: 0.4945 MB / 0.8419 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004147/0.9523, allocations: 1.096 MB / 0.843 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002514/0.9549, allocations: 1.085 MB / 0.8441 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005495/0.9604, allocations: 2.113 MB / 0.8461 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.9716, allocations: 6.048 MB / 0.852 GB, free: 56 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.9716, allocations: 0 / 0.852 GB, free: 56 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9716, allocations: 4 kB / 0.852 GB, free: 52 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003241/0.972, allocations: 0 / 0.852 GB, free: 52 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01583/0.9878, allocations: 4.398 MB / 0.8563 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.9879, allocations: 16.97 kB / 0.8563 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.9984, allocations: 1.341 MB / 0.8577 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006566/1.005, allocations: 2.41 MB / 0.86 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/1.005, allocations: 254.5 kB / 0.8603 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/1.007, allocations: 316 kB / 0.8606 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/1.022, allocations: 4.75 MB / 0.8652 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/1.023, allocations: 7.938 kB / 0.8652 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/1.024, allocations: 143.9 kB / 0.8653 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.732e-05/1.024, allocations: 80 kB / 0.8654 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/1.039, allocations: 5.126 MB / 0.8704 GB, free: 12.94 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.03643/1.075, allocations: 16.55 MB / 0.8866 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/1.088, allocations: 4.287 MB / 0.8908 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00498/1.093, allocations: 1.822 MB / 0.8925 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001913/1.095, allocations: 1.632 MB / 0.8941 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006055/1.101, allocations: 2.137 MB / 0.8962 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=239): time 7.384e-06/1.101, allocations: 4 kB / 0.8962 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239): time 0.01918/1.12, allocations: 5.534 MB / 0.9016 GB, free: 11.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/1.12, allocations: 287 kB / 0.9019 GB, free: 11.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/1.127, allocations: 2.333 MB / 0.9042 GB, free: 9.016 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007579/1.128, allocations: 65.7 kB / 0.9043 GB, free: 8.945 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/1.13, allocations: 1.381 MB / 0.9056 GB, free: 7.551 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/1.132, allocations: 0.8009 MB / 0.9064 GB, free: 6.738 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/1.134, allocations: 0.5784 MB / 0.9069 GB, free: 6.152 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.134, allocations: 309.1 kB / 0.9072 GB, free: 5.848 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.139, allocations: 1.675 MB / 0.9089 GB, free: 4.168 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005071/1.144, allocations: 2.047 MB / 0.9109 GB, free: 2.004 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009692/1.154, allocations: 3.686 MB / 0.9145 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/1.154, allocations: 0 / 0.9145 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01292/1.167, allocations: 4.286 MB / 0.9187 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/1.167, allocations: 11.94 kB / 0.9187 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/1.167, allocations: 4.5 kB / 0.9187 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/1.168, allocations: 100.8 kB / 0.9188 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/1.172, allocations: 0.7838 MB / 0.9195 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.175, allocations: 1.707 MB / 0.9212 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004798/1.18, allocations: 481.3 kB / 0.9217 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009833/1.181, allocations: 151.8 kB / 0.9218 GB, free: 6.48 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (314): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003407/1.184, allocations: 0.9717 MB / 0.9228 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.186, allocations: 264.7 kB / 0.923 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.199, allocations: 4.455 MB / 0.9274 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/1.199, allocations: 24 kB / 0.9274 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/1.199, allocations: 4 kB / 0.9274 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.931e-05/1.2, allocations: 11.95 kB / 0.9274 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.221, allocations: 8.533 MB / 0.9357 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.221, allocations: 0 / 0.9357 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00372/1.225, allocations: 0.6358 MB / 0.9364 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005809/1.226, allocations: 80.78 kB / 0.9364 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005176/1.226, allocations: 71.94 kB / 0.9365 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/1.229, allocations: 1.724 MB / 0.9382 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.229, allocations: 7.938 kB / 0.9382 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/1.239, allocations: 3.733 MB / 0.9418 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/1.242, allocations: 0.817 MB / 0.9426 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.243, allocations: 67.62 kB / 0.9427 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003593/1.246, allocations: 295.6 kB / 0.943 GB, free: 252 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/1.247, allocations: 161.9 kB / 0.9431 GB, free: 88 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003215/1.247, allocations: 91.98 kB / 0.9432 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004246/1.251, allocations: 1.741 MB / 0.9449 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/1.251, allocations: 0 / 0.9449 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004255/1.256, allocations: 0.962 MB / 0.9459 GB, free: 13.28 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002253/1.258, allocations: 0.6856 MB / 0.9465 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.268, allocations: 3.845 MB / 0.9503 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.269, allocations: 3.938 kB / 0.9503 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00506/1.274, allocations: 1.901 MB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/1.278, allocations: 0.501 MB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/1.297, allocations: 6.951 MB / 0.9594 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00351/1.301, allocations: 2.38 MB / 0.9617 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002765/1.304, allocations: 355.1 kB / 0.9621 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.422e-06/1.304, allocations: 0 / 0.9621 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.1066/1.41, allocations: 66.23 MB / 1.027 GB, free: 10.49 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.makefile make -j1 -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.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.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionFunctions.cpp:7: /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.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.ConvectionCalcHelperMain.o] Error 1