Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 112 kB / 16.41 MB, free: 6.039 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.001242/0.001242, allocations: 188.7 kB / 17.34 MB, free: 5.629 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8091/0.8091, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61.61 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1606, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.6136/0.7742, allocations: 160.2 MB / 0.8167 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03419/0.8084, allocations: 26.61 MB / 0.8427 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/0.8119, allocations: 71.78 kB / 0.8428 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.8138, allocations: 0.6266 MB / 0.8434 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.8181, allocations: 1.453 MB / 0.8448 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003986/0.8221, allocations: 1.635 MB / 0.8464 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005184/0.8273, allocations: 4.496 MB / 0.8508 GB, free: 24 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004809/0.8321, allocations: 3.931 MB / 0.8547 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.8359, allocations: 1.872 MB / 0.8565 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.8392, allocations: 2.131 MB / 0.8586 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007298/0.8399, allocations: 420 kB / 0.859 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.8429, allocations: 1.424 MB / 0.8604 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009711/0.8438, allocations: 1.032 MB / 0.8614 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.846, allocations: 1.831 MB / 0.8631 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006789/0.8528, allocations: 5.495 MB / 0.8685 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.8528, allocations: 0 / 0.8685 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8528, allocations: 0 / 0.8685 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001166/0.853, allocations: 0 / 0.8685 GB, free: 0.5352 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: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.009303/0.8623, allocations: 4.082 MB / 0.8725 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.8623, allocations: 15.95 kB / 0.8725 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/0.8762, allocations: 2.738 MB / 0.8752 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/0.8809, allocations: 2.093 MB / 0.8772 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.8812, allocations: 226 kB / 0.8775 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008446/0.882, allocations: 288 kB / 0.8777 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.8935, allocations: 4.962 MB / 0.8826 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.722e-05/0.8936, allocations: 4 kB / 0.8826 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/0.894, allocations: 120 kB / 0.8827 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.17e-05/0.8941, allocations: 87.92 kB / 0.8828 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/0.9092, allocations: 6.09 MB / 0.8887 GB, free: 11.58 MB / 0.6544 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.02813/0.9374, allocations: 15.32 MB / 0.9037 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007898/0.9453, allocations: 3.666 MB / 0.9073 GB, free: 7.914 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/0.9495, allocations: 2.011 MB / 0.9092 GB, free: 5.902 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.9499, allocations: 232.3 kB / 0.9094 GB, free: 5.641 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004491/0.9544, allocations: 2.118 MB / 0.9115 GB, free: 3.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=231): time 6.202e-06/0.9544, allocations: 4 kB / 0.9115 GB, free: 3.496 MB / 0.67 GB Notification: Performance of matching and sorting (n=231): time 0.01457/0.969, allocations: 6.095 MB / 0.9175 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.9692, allocations: 291.1 kB / 0.9177 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/0.9735, allocations: 2.085 MB / 0.9198 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002696/0.9738, allocations: 73.7 kB / 0.9199 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.9751, allocations: 1.195 MB / 0.921 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008381/0.9759, allocations: 0.7663 MB / 0.9218 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.977, allocations: 479.9 kB / 0.9222 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9771, allocations: 305.1 kB / 0.9225 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003811/0.9809, allocations: 1.69 MB / 0.9242 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004113/0.985, allocations: 2.07 MB / 0.9262 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007911/0.9929, allocations: 3.728 MB / 0.9298 GB, free: 304 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.993, allocations: 3.938 kB / 0.9298 GB, free: 300 kB / 0.6856 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01025/1.003, allocations: 4.341 MB / 0.9341 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.003, allocations: 7.938 kB / 0.9341 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.003, allocations: 8 kB / 0.9341 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007104/1.004, allocations: 233 kB / 0.9343 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/1.007, allocations: 0.7176 MB / 0.935 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005374/1.013, allocations: 3.377 MB / 0.9383 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003905/1.017, allocations: 0.5399 MB / 0.9388 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/1.017, allocations: 107.9 kB / 0.9389 GB, free: 6.77 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 265 * 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): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00201/1.019, allocations: 0.8094 MB / 0.9397 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009056/1.02, allocations: 252.8 kB / 0.94 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.031, allocations: 4.494 MB / 0.9444 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.031, allocations: 20 kB / 0.9444 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/1.031, allocations: 15.88 kB / 0.9444 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/1.031, allocations: 11.95 kB / 0.9444 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/1.048, allocations: 7.722 MB / 0.9519 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.048, allocations: 8 kB / 0.952 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/1.051, allocations: 0.55 MB / 0.9525 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008746/1.052, allocations: 272.2 kB / 0.9527 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/1.052, allocations: 71.95 kB / 0.9528 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00566/1.058, allocations: 5.258 MB / 0.958 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/1.058, allocations: 11.94 kB / 0.958 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/1.07, allocations: 5.668 MB / 0.9635 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.072, allocations: 0.6653 MB / 0.9641 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006816/1.072, allocations: 67.83 kB / 0.9642 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/1.075, allocations: 279.6 kB / 0.9645 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/1.075, allocations: 181.5 kB / 0.9647 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.075, allocations: 87.95 kB / 0.9647 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003044/1.078, allocations: 1.511 MB / 0.9662 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/1.079, allocations: 0 / 0.9662 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003273/1.082, allocations: 0.8845 MB / 0.9671 GB, free: 9.195 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002613/1.084, allocations: 1.012 MB / 0.9681 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008805/1.093, allocations: 3.775 MB / 0.9718 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/1.093, allocations: 4.312 kB / 0.9718 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/1.097, allocations: 1.976 MB / 0.9737 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/1.101, allocations: 0.6535 MB / 0.9743 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.115, allocations: 6.459 MB / 0.9806 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/1.118, allocations: 2.154 MB / 0.9827 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/1.12, allocations: 275.3 kB / 0.983 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of SimCode: time 1.523e-06/1.12, allocations: 0 / 0.983 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of Templates: time 0.09936/1.219, allocations: 72.7 MB / 1.054 GB, free: 368 kB / 0.8106 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateFunctions.cpp:7: /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.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.o] Error 1