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.0007795/0.0007798, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.933/0.933, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 12.81 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1739, allocations: 82.31 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.462/0.6359, allocations: 155.6 MB / 0.7406 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03373/0.6697, allocations: 26.14 MB / 0.7661 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003398/0.6731, allocations: 71.62 kB / 0.7662 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.6749, allocations: 0.5164 MB / 0.7667 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.6793, allocations: 1.276 MB / 0.7679 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.6831, allocations: 1.431 MB / 0.7693 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006069/0.6892, allocations: 4.701 MB / 0.7739 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004293/0.6935, allocations: 3.231 MB / 0.7771 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.6956, allocations: 1.232 MB / 0.7783 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.6979, allocations: 1.629 MB / 0.7799 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003114/0.6982, allocations: 96 kB / 0.7799 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.7005, allocations: 1.096 MB / 0.781 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006346/0.7012, allocations: 0.6378 MB / 0.7816 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.7028, allocations: 1.403 MB / 0.783 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004474/0.7073, allocations: 4.111 MB / 0.787 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7073, allocations: 4 kB / 0.787 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7073, allocations: 0 / 0.787 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.808e-05/0.7074, allocations: 0 / 0.787 GB, free: 0.5 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.007552/0.715, allocations: 3.465 MB / 0.7904 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7151, allocations: 8.031 kB / 0.7904 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/0.7292, allocations: 2.863 MB / 0.7932 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.7337, allocations: 2.07 MB / 0.7952 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.7339, allocations: 233.9 kB / 0.7955 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006984/0.7346, allocations: 295.9 kB / 0.7957 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.7462, allocations: 4.989 MB / 0.8006 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-05/0.7463, allocations: 3.938 kB / 0.8006 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000358/0.7467, allocations: 124 kB / 0.8007 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/0.7468, allocations: 75.94 kB / 0.8008 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.762, allocations: 6.189 MB / 0.8069 GB, free: 11.94 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.02839/0.7905, allocations: 15.43 MB / 0.8219 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007744/0.7982, allocations: 3.677 MB / 0.8255 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004204/0.8025, allocations: 2.019 MB / 0.8275 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/0.8028, allocations: 224.4 kB / 0.8277 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004382/0.8072, allocations: 2.145 MB / 0.8298 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=231): time 3.977e-06/0.8073, allocations: 0 / 0.8298 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of matching and sorting (n=231): time 0.01405/0.8213, allocations: 6.122 MB / 0.8358 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.8215, allocations: 287 kB / 0.836 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.825, allocations: 2.081 MB / 0.8381 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003905/0.8254, allocations: 65.7 kB / 0.8381 GB, free: 11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.8267, allocations: 1.195 MB / 0.8393 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008532/0.8275, allocations: 0.778 MB / 0.8401 GB, free: 9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.8279, allocations: 182.2 kB / 0.8402 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.828, allocations: 305.1 kB / 0.8405 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/0.8319, allocations: 1.698 MB / 0.8422 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/0.8361, allocations: 2.071 MB / 0.8442 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008001/0.8441, allocations: 3.74 MB / 0.8479 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.8442, allocations: 4 kB / 0.8479 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.009863/0.8541, allocations: 4.353 MB / 0.8521 GB, free: 12.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.8541, allocations: 11.94 kB / 0.8521 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.8541, allocations: 7.938 kB / 0.8521 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/0.8548, allocations: 236.9 kB / 0.8524 GB, free: 12.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.8581, allocations: 0.7176 MB / 0.8531 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.8619, allocations: 3.105 MB / 0.8561 GB, free: 8.148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/0.8656, allocations: 0.5633 MB / 0.8566 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.8659, allocations: 103.9 kB / 0.8567 GB, free: 7.48 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.0017/0.8676, allocations: 0.8095 MB / 0.8575 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004672/0.8681, allocations: 244.9 kB / 0.8578 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.8781, allocations: 4.522 MB / 0.8622 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.8782, allocations: 24 kB / 0.8622 GB, free: 1.852 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.8782, allocations: 4 kB / 0.8622 GB, free: 1.848 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.8782, allocations: 11.95 kB / 0.8622 GB, free: 1.836 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4025/1.281, allocations: 7.739 MB / 0.8698 GB, free: 85.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.281, allocations: 8.594 kB / 0.8698 GB, free: 85.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.283, allocations: 0.5549 MB / 0.8703 GB, free: 85.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007526/1.284, allocations: 272.9 kB / 0.8706 GB, free: 85.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.284, allocations: 68.58 kB / 0.8707 GB, free: 85.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/1.288, allocations: 4.821 MB / 0.8754 GB, free: 82.51 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.288, allocations: 13.72 kB / 0.8754 GB, free: 82.51 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/1.299, allocations: 5.675 MB / 0.8809 GB, free: 81.88 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/1.301, allocations: 0.727 MB / 0.8816 GB, free: 81.74 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/1.301, allocations: 61.58 kB / 0.8817 GB, free: 81.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.303, allocations: 299 kB / 0.882 GB, free: 81.74 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/1.304, allocations: 184.1 kB / 0.8822 GB, free: 81.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.304, allocations: 88.36 kB / 0.8822 GB, free: 81.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002093/1.306, allocations: 1.497 MB / 0.8837 GB, free: 81.58 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.306, allocations: 2.906 kB / 0.8837 GB, free: 81.58 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002736/1.309, allocations: 0.8828 MB / 0.8846 GB, free: 81.49 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.002338/1.311, allocations: 1.015 MB / 0.8856 GB, free: 81.28 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008793/1.32, allocations: 3.75 MB / 0.8892 GB, free: 81.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/1.32, allocations: 2.188 kB / 0.8892 GB, free: 81.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004287/1.324, allocations: 1.986 MB / 0.8912 GB, free: 80.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006101/1.331, allocations: 0.6054 MB / 0.8917 GB, free: 80.78 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.343, allocations: 7.87 MB / 0.8994 GB, free: 77.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/1.346, allocations: 2.162 MB / 0.9015 GB, free: 76.46 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.347, allocations: 267.8 kB / 0.9018 GB, free: 76.45 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/1.347, allocations: 0 / 0.9018 GB, free: 76.45 MB / 0.67 GB Notification: Performance of Templates: time 0.07568/1.423, allocations: 71.82 MB / 0.9719 GB, free: 18.32 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