Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008101/0.008101, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001446/0.001446, allocations: 190 kB / 16.79 MB, free: 5.812 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9857/0.9857, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.7 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1768, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.5135/0.6904, allocations: 157.8 MB / 0.7385 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0394/0.7298, allocations: 26.44 MB / 0.7643 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/0.7343, allocations: 67.62 kB / 0.7643 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.7368, allocations: 0.5164 MB / 0.7649 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.7424, allocations: 1.277 MB / 0.7661 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.7469, allocations: 1.437 MB / 0.7675 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006148/0.753, allocations: 4.696 MB / 0.7721 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005042/0.7581, allocations: 3.552 MB / 0.7756 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.761, allocations: 1.51 MB / 0.777 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.7643, allocations: 1.972 MB / 0.779 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007505/0.7651, allocations: 228 kB / 0.7792 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.768, allocations: 1.221 MB / 0.7804 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009182/0.769, allocations: 0.829 MB / 0.7812 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.7714, allocations: 1.616 MB / 0.7828 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005951/0.7773, allocations: 4.222 MB / 0.7869 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.7774, allocations: 0 / 0.7869 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7774, allocations: 0 / 0.7869 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001602/0.7776, allocations: 0 / 0.7869 GB, free: 13.79 MB / 0.6075 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.01126/0.7888, allocations: 4.065 MB / 0.7908 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.7889, allocations: 15.97 kB / 0.7909 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.8035, allocations: 2.741 MB / 0.7935 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/0.8083, allocations: 2.077 MB / 0.7956 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.8086, allocations: 222 kB / 0.7958 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007754/0.8094, allocations: 292 kB / 0.7961 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.8221, allocations: 4.946 MB / 0.8009 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.8222, allocations: 3.938 kB / 0.8009 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.8226, allocations: 124 kB / 0.801 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.887e-05/0.8227, allocations: 83.94 kB / 0.8011 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.8383, allocations: 6.091 MB / 0.807 GB, free: 8.891 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.03045/0.8688, allocations: 15.4 MB / 0.8221 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00797/0.8768, allocations: 3.66 MB / 0.8256 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004124/0.881, allocations: 2.011 MB / 0.8276 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/0.8814, allocations: 224.3 kB / 0.8278 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004408/0.8858, allocations: 2.14 MB / 0.8299 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=231): time 4.228e-06/0.8858, allocations: 7.938 kB / 0.8299 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=231): time 0.01391/0.8997, allocations: 6.079 MB / 0.8359 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.9, allocations: 287 kB / 0.8361 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.9032, allocations: 2.084 MB / 0.8382 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.9035, allocations: 69.7 kB / 0.8382 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.9046, allocations: 1.199 MB / 0.8394 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008696/0.9055, allocations: 0.774 MB / 0.8402 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008228/0.9063, allocations: 468 kB / 0.8406 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9064, allocations: 309.1 kB / 0.8409 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/0.9102, allocations: 1.694 MB / 0.8426 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/0.9143, allocations: 2.068 MB / 0.8446 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007679/0.922, allocations: 3.724 MB / 0.8482 GB, free: 13.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.922, allocations: 4.109 kB / 0.8482 GB, free: 13.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.009705/0.9317, allocations: 4.341 MB / 0.8525 GB, free: 9.141 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.9318, allocations: 11.94 kB / 0.8525 GB, free: 9.129 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.9318, allocations: 4 kB / 0.8525 GB, free: 9.125 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006511/0.9325, allocations: 239.3 kB / 0.8527 GB, free: 8.891 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.9358, allocations: 0.7137 MB / 0.8534 GB, free: 8.176 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.9398, allocations: 3.107 MB / 0.8564 GB, free: 4.938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/0.9436, allocations: 0.5497 MB / 0.857 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/0.944, allocations: 99.92 kB / 0.8571 GB, free: 4.289 MB / 0.67 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.001769/0.9458, allocations: 0.8134 MB / 0.8579 GB, free: 3.465 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/0.9464, allocations: 244.9 kB / 0.8581 GB, free: 3.223 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3139/1.26, allocations: 4.501 MB / 0.8625 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/1.26, allocations: 23.28 kB / 0.8625 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.26, allocations: 2.75 kB / 0.8625 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.329e-05/1.26, allocations: 14.09 kB / 0.8625 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.273, allocations: 7.722 MB / 0.8701 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/1.273, allocations: 9.25 kB / 0.8701 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/1.276, allocations: 0.5524 MB / 0.8706 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007522/1.277, allocations: 279.7 kB / 0.8709 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/1.277, allocations: 68.69 kB / 0.8709 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/1.28, allocations: 4.82 MB / 0.8757 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.28, allocations: 11.34 kB / 0.8757 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009681/1.29, allocations: 5.676 MB / 0.8812 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.291, allocations: 0.6729 MB / 0.8819 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/1.292, allocations: 67.48 kB / 0.8819 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.294, allocations: 284.9 kB / 0.8822 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/1.294, allocations: 187.5 kB / 0.8824 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.294, allocations: 91.08 kB / 0.8825 GB, free: 207.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001876/1.296, allocations: 1.499 MB / 0.8839 GB, free: 206.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/1.296, allocations: 0 / 0.8839 GB, free: 206.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002365/1.299, allocations: 0.8813 MB / 0.8848 GB, free: 206.6 MB / 0.67 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.00213/1.301, allocations: 1.018 MB / 0.8858 GB, free: 206.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007002/1.308, allocations: 3.745 MB / 0.8894 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/1.308, allocations: 2.688 kB / 0.8894 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0037/1.312, allocations: 1.973 MB / 0.8914 GB, free: 204.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.315, allocations: 0.5995 MB / 0.892 GB, free: 204.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.326, allocations: 7.762 MB / 0.8995 GB, free: 200 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/1.328, allocations: 2.155 MB / 0.9016 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/1.329, allocations: 276.5 kB / 0.9019 GB, free: 199 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/1.329, allocations: 0 / 0.9019 GB, free: 199 MB / 0.67 GB Notification: Performance of Templates: time 0.08465/1.414, allocations: 72.24 MB / 0.9725 GB, free: 150.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile clang++ -std=c++14 -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.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateFunctions.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.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.o] Error 1