Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Predictors.Validation.LinearInput.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.LinearInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Predictors.Validation.LinearInput") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.5/2.5, allocations: 253.1 MB / 260.4 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 189 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.01125/0.01125, allocations: 91.31 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.566e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2622, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7072/0.9694, allocations: 139.4 MB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/0.9699, allocations: 75 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.2498/1.22, allocations: 66.53 MB / 1.089 GB, free: 4.801 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001978/1.22, allocations: 116 kB / 1.089 GB, free: 4.688 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1841 * Number of variables: 1841 Notification: Performance of Generate backend data structure: time 0.01947/1.239, allocations: 5.644 MB / 1.095 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/1.24, allocations: 8.031 kB / 1.095 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/1.242, allocations: 0.6219 MB / 1.095 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009308/1.252, allocations: 1.847 MB / 1.097 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/1.252, allocations: 8 kB / 1.097 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/1.253, allocations: 376 kB / 1.098 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/1.255, allocations: 286.5 kB / 1.098 GB, free: 12.57 MB / 0.7136 GB Error: An independent subset of the model has imbalanced number of equations (20) and variables (21). variables: integrator.y integrator.u TSam.y TSam.u TSam.firstTrigger TSam.sampleTrigger err.y err.u2 err.u1 to_degC.y to_degC.u PCon.y PCon.u2 PCon.u1 POffSet.y TOut.y baseLoad.TOut baseLoad.TOut_in_internal baseLoad.intTOut baseLoad.PPre[1] baseLoad.ECon equations: 1 : der(baseLoad.intTOut) = baseLoad.TOut_in_internal 2 : TOut.y = TOut.offset + (if time < TOut.startTime then 0.0 else if time < TOut.startTime + TOut.duration then (time - TOut.startTime) * TOut.height / TOut.duration else TOut.height) 3 : POffSet.y = POffSet.k 4 : PCon.y = PCon.k1 * PCon.u1 + PCon.k2 * PCon.u2 5 : to_degC.y = -273.15 + to_degC.u 6 : err.y = err.k1 * err.u1 + err.k2 * err.u2 7 : TSam.sampleTrigger = sample(4, TSam.startTime, TSam.samplePeriod) 8 : der(integrator.y) = integrator.k * integrator.u 9 : baseLoad.TOut = baseLoad.TOut_in_internal 10 : PCon.u1 = POffSet.y 11 : TOut.y = TSam.u 12 : TSam.y = baseLoad.TOut 13 : TSam.y = to_degC.u 14 : PCon.y = err.u2 15 : PCon.y = integrator.u 16 : baseLoad.ECon = integrator.y 17 : PCon.u2 = to_degC.y 18 : baseLoad.PPre[1] = err.u1 19 : when TSam.sampleTrigger then TSam.firstTrigger := time <= TSam.startTime + 0.5 * TSam.samplePeriod; end when; 20 : when {TSam.sampleTrigger, initial()} then TSam.y := TSam.u; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.00134/1.256, allocations: 475.7 kB / 1.098 GB, free: 12.17 MB / 0.7136 GB Error: pre-optimization module clockPartitioning (simulation) failed.