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=336,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,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.001495/0.001495, allocations: 107.8 kB / 16.41 MB, free: 6.52 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.001609/0.001609, allocations: 183 kB / 17.34 MB, free: 5.734 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.461/1.461, 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-master/package.mo): time 0.8639/0.8639, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.09 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1818, allocations: 80.93 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.6101/0.7919, allocations: 160.6 MB / 0.8222 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03902/0.8309, allocations: 26.67 MB / 0.8482 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.8346, allocations: 75.56 kB / 0.8483 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.837, allocations: 0.6326 MB / 0.8489 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.8422, allocations: 1.452 MB / 0.8504 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004755/0.847, allocations: 1.641 MB / 0.852 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006474/0.8535, allocations: 4.482 MB / 0.8563 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/0.8584, allocations: 3.249 MB / 0.8595 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.8627, allocations: 1.863 MB / 0.8613 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005379/0.8681, allocations: 2.136 MB / 0.8634 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002211/0.8703, allocations: 416 kB / 0.8638 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005159/0.8754, allocations: 1.424 MB / 0.8652 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.8771, allocations: 1.044 MB / 0.8662 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003041/0.8802, allocations: 1.827 MB / 0.868 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009605/0.8898, allocations: 5.508 MB / 0.8734 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.8898, allocations: 4 kB / 0.8734 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8898, allocations: 0 / 0.8734 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001704/0.8899, allocations: 4 kB / 0.8734 GB, free: 9.949 MB / 0.6387 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.01106/0.901, allocations: 4.17 MB / 0.8775 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.9011, allocations: 13.11 kB / 0.8775 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/0.9149, allocations: 2.76 MB / 0.8802 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005249/0.9202, allocations: 2.114 MB / 0.8822 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.9204, allocations: 230 kB / 0.8825 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007853/0.9212, allocations: 288 kB / 0.8827 GB, free: 252 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.9338, allocations: 4.954 MB / 0.8876 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.794e-05/0.9338, allocations: 4 kB / 0.8876 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/0.9342, allocations: 124 kB / 0.8877 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/0.9343, allocations: 79.94 kB / 0.8878 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/0.9504, allocations: 6.106 MB / 0.8937 GB, free: 4.859 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.03092/0.9813, allocations: 15.34 MB / 0.9087 GB, free: 4.855 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008153/0.9894, allocations: 3.492 MB / 0.9121 GB, free: 1.359 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004462/0.9939, allocations: 1.874 MB / 0.9139 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/0.9943, allocations: 224 kB / 0.9142 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00475/0.9991, allocations: 2.13 MB / 0.9162 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=231): time 3.807e-06/0.9991, allocations: 0 / 0.9162 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=231): time 0.0151/1.014, allocations: 6.089 MB / 0.9222 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/1.014, allocations: 291 kB / 0.9225 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003417/1.018, allocations: 2.089 MB / 0.9245 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004145/1.018, allocations: 65.7 kB / 0.9246 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.019, allocations: 1.217 MB / 0.9258 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.021, allocations: 0.8134 MB / 0.9265 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000933/1.021, allocations: 476.1 kB / 0.927 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.022, allocations: 309.1 kB / 0.9273 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.026, allocations: 1.694 MB / 0.9289 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004652/1.03, allocations: 2.076 MB / 0.931 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/1.039, allocations: 3.728 MB / 0.9346 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/1.039, allocations: 8 kB / 0.9346 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01119/1.05, allocations: 4.343 MB / 0.9389 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/1.05, allocations: 11.94 kB / 0.9389 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.05, allocations: 4 kB / 0.9389 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006849/1.051, allocations: 232.9 kB / 0.9391 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/1.055, allocations: 0.7176 MB / 0.9398 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004749/1.059, allocations: 3.382 MB / 0.9431 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/1.063, allocations: 0.5425 MB / 0.9436 GB, free: 392 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005858/1.064, allocations: 103.9 kB / 0.9437 GB, free: 288 kB / 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.001958/1.066, allocations: 0.8095 MB / 0.9445 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007088/1.067, allocations: 262.2 kB / 0.9448 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.077, allocations: 4.491 MB / 0.9492 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/1.077, allocations: 24 kB / 0.9492 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.077, allocations: 11.94 kB / 0.9492 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/1.077, allocations: 11.95 kB / 0.9492 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/1.094, allocations: 7.722 MB / 0.9567 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/1.094, allocations: 8 kB / 0.9568 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.096, allocations: 0.5544 MB / 0.9573 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008403/1.097, allocations: 266.4 kB / 0.9576 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/1.097, allocations: 71.95 kB / 0.9576 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/1.103, allocations: 5.266 MB / 0.9628 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/1.103, allocations: 11.94 kB / 0.9628 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.116, allocations: 5.67 MB / 0.9683 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.118, allocations: 0.6861 MB / 0.969 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005319/1.118, allocations: 67.88 kB / 0.969 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/1.121, allocations: 283.6 kB / 0.9693 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/1.121, allocations: 181.5 kB / 0.9695 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/1.121, allocations: 87.95 kB / 0.9696 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002614/1.124, allocations: 1.507 MB / 0.971 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.124, allocations: 0 / 0.971 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003133/1.127, allocations: 0.8808 MB / 0.9719 GB, free: 2.68 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.003622/1.131, allocations: 1.032 MB / 0.9729 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009283/1.14, allocations: 3.641 MB / 0.9765 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.14, allocations: 4 kB / 0.9765 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004514/1.145, allocations: 1.895 MB / 0.9783 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/1.148, allocations: 0.6336 MB / 0.9789 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/1.161, allocations: 6.557 MB / 0.9853 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.163, allocations: 2.169 MB / 0.9875 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.165, allocations: 275.2 kB / 0.9877 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of SimCode: time 1.002e-06/1.165, allocations: 0 / 0.9877 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of Templates: time 0.1026/1.267, allocations: 72.82 MB / 1.059 GB, free: 9.77 MB / 0.8262 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