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.001728/0.001728, allocations: 102 kB / 16.4 MB, free: 6.453 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.001774/0.001774, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.489/1.489, 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.8615/0.8615, allocations: 135.2 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.05 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1955, allocations: 80.93 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01282/0.2084, allocations: 8.678 MB / 0.6739 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6802/0.8885, allocations: 156.7 MB / 0.8269 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.8908, allocations: 54.94 kB / 0.827 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.892, allocations: 349.2 kB / 0.8273 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.8959, allocations: 1.11 MB / 0.8284 GB, free: 276 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.8993, allocations: 1.41 MB / 0.8298 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006616/0.9059, allocations: 5.338 MB / 0.835 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/0.9094, allocations: 2.196 MB / 0.8371 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/0.9137, allocations: 2.109 MB / 0.8392 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/0.9172, allocations: 2.018 MB / 0.8411 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.9186, allocations: 0.4939 MB / 0.8416 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.9217, allocations: 1.106 MB / 0.8427 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001964/0.9237, allocations: 1.09 MB / 0.8438 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005099/0.9288, allocations: 2.111 MB / 0.8458 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.9429, allocations: 6.076 MB / 0.8518 GB, free: 376 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.943, allocations: 4 kB / 0.8518 GB, free: 372 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.695e-06/0.943, allocations: 0 / 0.8518 GB, free: 372 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003022/0.9433, allocations: 4 kB / 0.8518 GB, free: 368 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.02018/0.9634, allocations: 4.518 MB / 0.8562 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.185e-05/0.9635, allocations: 12.97 kB / 0.8562 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/0.983, allocations: 1.359 MB / 0.8575 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009669/0.9926, allocations: 2.416 MB / 0.8599 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/0.9931, allocations: 250.6 kB / 0.8601 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/0.995, allocations: 316 kB / 0.8604 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/1.017, allocations: 4.765 MB / 0.8651 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.677e-05/1.017, allocations: 3.984 kB / 0.8651 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007974/1.018, allocations: 136.8 kB / 0.8652 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/1.018, allocations: 84 kB / 0.8653 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/1.044, allocations: 5.134 MB / 0.8703 GB, free: 13.08 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.0559/1.1, allocations: 16.6 MB / 0.8865 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02233/1.123, allocations: 4.107 MB / 0.8905 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008747/1.131, allocations: 1.689 MB / 0.8922 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003102/1.134, allocations: 1.635 MB / 0.8938 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01015/1.145, allocations: 2.145 MB / 0.8959 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=239): time 8.205e-06/1.145, allocations: 3.938 kB / 0.8959 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239): time 0.03112/1.176, allocations: 5.543 MB / 0.9013 GB, free: 12.13 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00028/1.176, allocations: 283 kB / 0.9015 GB, free: 11.79 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007011/1.183, allocations: 2.337 MB / 0.9038 GB, free: 9.43 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009507/1.184, allocations: 69.7 kB / 0.9039 GB, free: 9.355 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002406/1.186, allocations: 1.412 MB / 0.9053 GB, free: 7.93 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002131/1.188, allocations: 0.8327 MB / 0.9061 GB, free: 7.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/1.191, allocations: 0.5902 MB / 0.9067 GB, free: 6.492 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.191, allocations: 305.1 kB / 0.907 GB, free: 6.191 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008714/1.2, allocations: 1.683 MB / 0.9086 GB, free: 4.504 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009226/1.209, allocations: 2.055 MB / 0.9106 GB, free: 2.332 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01793/1.227, allocations: 3.67 MB / 0.9142 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/1.227, allocations: 4 kB / 0.9142 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.02513/1.252, allocations: 4.303 MB / 0.9184 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/1.252, allocations: 8.5 kB / 0.9184 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/1.252, allocations: 8 kB / 0.9184 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.253, allocations: 104.8 kB / 0.9185 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008199/1.261, allocations: 0.7915 MB / 0.9193 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/1.265, allocations: 1.708 MB / 0.921 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0079/1.273, allocations: 489.8 kB / 0.9214 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.275, allocations: 135.8 kB / 0.9215 GB, free: 6.797 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.004435/1.279, allocations: 0.9797 MB / 0.9225 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/1.281, allocations: 278.2 kB / 0.9228 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0244/1.305, allocations: 4.451 MB / 0.9271 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.759e-05/1.305, allocations: 28 kB / 0.9271 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.305, allocations: 8 kB / 0.9272 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.41e-05/1.305, allocations: 11.95 kB / 0.9272 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03561/1.341, allocations: 8.545 MB / 0.9355 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/1.341, allocations: 4 kB / 0.9355 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006864/1.348, allocations: 0.6358 MB / 0.9361 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008627/1.349, allocations: 80.78 kB / 0.9362 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008121/1.349, allocations: 75.94 kB / 0.9363 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/1.353, allocations: 1.713 MB / 0.938 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.353, allocations: 0 / 0.938 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/1.37, allocations: 3.758 MB / 0.9416 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003299/1.374, allocations: 0.8185 MB / 0.9424 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.375, allocations: 71.72 kB / 0.9425 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005593/1.381, allocations: 297.9 kB / 0.9428 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009084/1.382, allocations: 165.9 kB / 0.9429 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006049/1.382, allocations: 91.88 kB / 0.943 GB, free: 268 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00529/1.387, allocations: 1.745 MB / 0.9447 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.81e-07/1.387, allocations: 7.938 kB / 0.9447 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005585/1.393, allocations: 0.974 MB / 0.9457 GB, free: 13.52 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.0038/1.397, allocations: 0.6875 MB / 0.9464 GB, free: 13 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01802/1.415, allocations: 3.708 MB / 0.95 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.415, allocations: 0 / 0.95 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00862/1.423, allocations: 1.791 MB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005297/1.429, allocations: 0.5044 MB / 0.9522 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/1.456, allocations: 7.06 MB / 0.9591 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003606/1.459, allocations: 2.384 MB / 0.9614 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00323/1.463, allocations: 351.1 kB / 0.9618 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of SimCode: time 1.684e-06/1.463, allocations: 0 / 0.9618 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of Templates: time 0.09855/1.561, allocations: 66.41 MB / 1.027 GB, free: 10.68 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