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.001273/0.001273, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001278/0.001278, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.853/0.853, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.88 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4323, allocations: 80.92 MB / 0.5851 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.1935/0.6259, allocations: 160.2 MB / 0.7415 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3598/0.9857, allocations: 26.58 MB / 0.7674 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003676/0.9894, allocations: 71.88 kB / 0.7675 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.9916, allocations: 0.6323 MB / 0.7681 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.9963, allocations: 1.418 MB / 0.7695 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004105/1, allocations: 1.629 MB / 0.7711 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006271/1.007, allocations: 4.466 MB / 0.7755 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00622/1.013, allocations: 3.952 MB / 0.7793 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/1.017, allocations: 1.832 MB / 0.7811 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/1.021, allocations: 2.127 MB / 0.7832 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001453/1.023, allocations: 417.9 kB / 0.7836 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/1.026, allocations: 1.387 MB / 0.7849 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001367/1.028, allocations: 1.045 MB / 0.786 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00454/1.032, allocations: 1.832 MB / 0.7877 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007621/1.04, allocations: 5.398 MB / 0.793 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.04, allocations: 0 / 0.793 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/1.04, allocations: 0 / 0.793 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001941/1.04, allocations: 0.9688 kB / 0.793 GB, free: 15.64 MB / 0.5919 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.01163/1.052, allocations: 4.068 MB / 0.797 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.052, allocations: 11.67 kB / 0.797 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/1.066, allocations: 2.737 MB / 0.7997 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/1.071, allocations: 2.065 MB / 0.8017 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/1.071, allocations: 225 kB / 0.8019 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009848/1.072, allocations: 291.7 kB / 0.8022 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/1.083, allocations: 4.951 MB / 0.807 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-05/1.083, allocations: 4 kB / 0.807 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003763/1.084, allocations: 125.9 kB / 0.8071 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/1.084, allocations: 71.47 kB / 0.8072 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/1.105, allocations: 6.106 MB / 0.8132 GB, free: 10.36 MB / 0.5919 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.03832/1.143, allocations: 15.41 MB / 0.8282 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009537/1.153, allocations: 3.659 MB / 0.8318 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005134/1.158, allocations: 2.011 MB / 0.8338 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004823/1.158, allocations: 224.9 kB / 0.834 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00568/1.164, allocations: 2.14 MB / 0.8361 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=231): time 6.232e-06/1.164, allocations: 4 kB / 0.8361 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=231): time 0.01626/1.18, allocations: 6.084 MB / 0.842 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/1.181, allocations: 291 kB / 0.8423 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/1.184, allocations: 2.085 MB / 0.8443 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006139/1.185, allocations: 69.7 kB / 0.8444 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.186, allocations: 1.189 MB / 0.8455 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.187, allocations: 0.7659 MB / 0.8463 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009645/1.188, allocations: 483.9 kB / 0.8468 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.189, allocations: 305.1 kB / 0.847 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/1.193, allocations: 1.69 MB / 0.8487 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004534/1.197, allocations: 2.066 MB / 0.8507 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009005/1.206, allocations: 3.732 MB / 0.8544 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/1.206, allocations: 3.938 kB / 0.8544 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01129/1.218, allocations: 4.333 MB / 0.8586 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/1.218, allocations: 8 kB / 0.8586 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/1.218, allocations: 12.25 kB / 0.8586 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/1.218, allocations: 239.9 kB / 0.8588 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/1.222, allocations: 0.7221 MB / 0.8595 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/1.227, allocations: 3.378 MB / 0.8628 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/1.231, allocations: 0.5379 MB / 0.8634 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000563/1.232, allocations: 107.9 kB / 0.8635 GB, free: 8.555 MB / 0.6387 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.002095/1.234, allocations: 0.8032 MB / 0.8643 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007543/1.234, allocations: 248.8 kB / 0.8645 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.245, allocations: 4.504 MB / 0.8689 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/1.245, allocations: 24 kB / 0.8689 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/1.245, allocations: 4 kB / 0.8689 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/1.245, allocations: 15.89 kB / 0.8689 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/1.262, allocations: 7.744 MB / 0.8765 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.262, allocations: 8 kB / 0.8765 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/1.265, allocations: 0.5448 MB / 0.877 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008756/1.266, allocations: 281.4 kB / 0.8773 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/1.266, allocations: 75.95 kB / 0.8774 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005988/1.272, allocations: 5.259 MB / 0.8825 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.272, allocations: 11.09 kB / 0.8825 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.286, allocations: 5.674 MB / 0.8881 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.288, allocations: 0.6615 MB / 0.8887 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005143/1.288, allocations: 67.83 kB / 0.8888 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.291, allocations: 279.6 kB / 0.889 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004277/1.291, allocations: 183 kB / 0.8892 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.291, allocations: 91.95 kB / 0.8893 GB, free: 13.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00287/1.294, allocations: 1.499 MB / 0.8908 GB, free: 12.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.294, allocations: 0 / 0.8908 GB, free: 12.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003385/1.298, allocations: 0.8806 MB / 0.8916 GB, free: 11.21 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.003603/1.301, allocations: 1.03 MB / 0.8926 GB, free: 10.62 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.315, allocations: 5.377 MB / 0.8979 GB, free: 5.293 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.315, allocations: 0 / 0.8979 GB, free: 5.293 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004668/1.32, allocations: 1.974 MB / 0.8998 GB, free: 3.352 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/1.325, allocations: 0.6461 MB / 0.9004 GB, free: 2.734 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.339, allocations: 6.539 MB / 0.9068 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/1.341, allocations: 2.165 MB / 0.9089 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/1.343, allocations: 271.3 kB / 0.9092 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/1.343, allocations: 0 / 0.9092 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of Templates: time 0.1032/1.446, allocations: 72.36 MB / 0.9799 GB, free: 1.312 MB / 0.7481 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++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.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