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.001505/0.001505, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.00178/0.00178, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 13.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8136/0.8136, allocations: 135.1 MB / 425.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.001671, allocations: 59.91 kB / 0.5055 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4579, allocations: 80.92 MB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.1842/0.642, allocations: 157.9 MB / 0.7388 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4231/1.065, allocations: 26.24 MB / 0.7644 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003691/1.069, allocations: 66.81 kB / 0.7644 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/1.071, allocations: 0.5263 MB / 0.765 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004784/1.076, allocations: 1.298 MB / 0.7662 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004237/1.08, allocations: 1.464 MB / 0.7677 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007187/1.087, allocations: 4.488 MB / 0.772 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007616/1.095, allocations: 3.959 MB / 0.7759 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/1.099, allocations: 1.841 MB / 0.7777 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/1.102, allocations: 2.162 MB / 0.7798 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006848/1.103, allocations: 418.2 kB / 0.7802 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/1.106, allocations: 1.4 MB / 0.7816 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/1.107, allocations: 1.048 MB / 0.7826 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003408/1.111, allocations: 1.828 MB / 0.7844 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007627/1.118, allocations: 4.264 MB / 0.7886 GB, free: 196 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.118, allocations: 3.188 kB / 0.7886 GB, free: 196 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/1.118, allocations: 0 / 0.7886 GB, free: 196 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001847/1.118, allocations: 0 / 0.7886 GB, free: 196 kB / 0.5762 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.01103/1.129, allocations: 4.065 MB / 0.7925 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.13, allocations: 11.2 kB / 0.7925 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/1.143, allocations: 2.746 MB / 0.7952 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004759/1.148, allocations: 2.078 MB / 0.7973 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/1.148, allocations: 222.6 kB / 0.7975 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006796/1.149, allocations: 292.6 kB / 0.7977 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/1.16, allocations: 4.954 MB / 0.8026 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.019e-05/1.16, allocations: 2.438 kB / 0.8026 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003504/1.16, allocations: 120.3 kB / 0.8027 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/1.16, allocations: 74.44 kB / 0.8028 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/1.174, allocations: 6.1 MB / 0.8087 GB, free: 11.86 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.02546/1.2, allocations: 15.4 MB / 0.8238 GB, free: 408 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007083/1.207, allocations: 3.665 MB / 0.8273 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003828/1.21, allocations: 2.011 MB / 0.8293 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/1.211, allocations: 228.4 kB / 0.8295 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004253/1.215, allocations: 2.129 MB / 0.8316 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=231): time 5.28e-06/1.215, allocations: 0 / 0.8316 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=231): time 0.01383/1.229, allocations: 6.088 MB / 0.8375 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/1.229, allocations: 287 kB / 0.8378 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/1.233, allocations: 2.089 MB / 0.8399 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002747/1.234, allocations: 65.7 kB / 0.8399 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.235, allocations: 1.196 MB / 0.8411 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008239/1.236, allocations: 0.7696 MB / 0.8418 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.237, allocations: 472 kB / 0.8423 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.237, allocations: 309.1 kB / 0.8426 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/1.241, allocations: 1.693 MB / 0.8442 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/1.245, allocations: 2.064 MB / 0.8463 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008202/1.253, allocations: 3.733 MB / 0.8499 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/1.253, allocations: 4 kB / 0.8499 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.009939/1.263, allocations: 4.33 MB / 0.8541 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.263, allocations: 11.94 kB / 0.8541 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/1.263, allocations: 8 kB / 0.8542 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006871/1.264, allocations: 246.2 kB / 0.8544 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/1.267, allocations: 0.7125 MB / 0.8551 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/1.271, allocations: 3.378 MB / 0.8584 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/1.275, allocations: 0.5438 MB / 0.8589 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005953/1.276, allocations: 103.9 kB / 0.859 GB, free: 11.77 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.002504/1.279, allocations: 0.8135 MB / 0.8598 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.28, allocations: 248.8 kB / 0.86 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/1.291, allocations: 4.51 MB / 0.8645 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/1.291, allocations: 24 kB / 0.8645 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/1.291, allocations: 3.938 kB / 0.8645 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.101e-05/1.291, allocations: 15.95 kB / 0.8645 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.308, allocations: 7.734 MB / 0.872 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/1.308, allocations: 8 kB / 0.8721 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.311, allocations: 0.5542 MB / 0.8726 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009105/1.312, allocations: 277.3 kB / 0.8729 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/1.312, allocations: 67.95 kB / 0.8729 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/1.317, allocations: 5.26 MB / 0.8781 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/1.317, allocations: 17.81 kB / 0.8781 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.33, allocations: 5.67 MB / 0.8836 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.332, allocations: 0.6693 MB / 0.8843 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009138/1.333, allocations: 71.83 kB / 0.8843 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.336, allocations: 286.2 kB / 0.8846 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005032/1.336, allocations: 182.5 kB / 0.8848 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.337, allocations: 87.95 kB / 0.8849 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003354/1.34, allocations: 1.503 MB / 0.8863 GB, free: 15.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/1.34, allocations: 3.938 kB / 0.8863 GB, free: 15.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003973/1.344, allocations: 0.8843 MB / 0.8872 GB, free: 14.41 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.002896/1.347, allocations: 1.006 MB / 0.8882 GB, free: 13.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.36, allocations: 5.368 MB / 0.8934 GB, free: 8.523 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/1.36, allocations: 7.938 kB / 0.8934 GB, free: 8.516 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004536/1.365, allocations: 1.978 MB / 0.8954 GB, free: 6.578 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/1.369, allocations: 0.6451 MB / 0.896 GB, free: 5.961 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/1.384, allocations: 7.773 MB / 0.9036 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/1.387, allocations: 2.165 MB / 0.9057 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/1.389, allocations: 271.2 kB / 0.906 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.312e-06/1.389, allocations: 0 / 0.906 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.1078/1.497, allocations: 72.23 MB / 0.9765 GB, free: 3.445 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++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