Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108 kB / 16.38 MB, free: 5.969 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.0011/0.0011, allocations: 191.4 kB / 17.32 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.109/1.109, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.749e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002763/0.00279, allocations: 2.211 MB / 0.675 GB, free: 3.703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3742/0.377, allocations: 150.4 MB / 0.8219 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.3772, allocations: 7.234 kB / 0.8219 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009351/0.3781, allocations: 0.7734 MB / 0.8227 GB, free: 44.02 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005984/0.3787, allocations: 0.489 MB / 0.8231 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.3794, allocations: 367.3 kB / 0.8235 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004912/0.3799, allocations: 0.5695 MB / 0.824 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3801, allocations: 89.19 kB / 0.8241 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00087/0.381, allocations: 348.6 kB / 0.8245 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.3813, allocations: 351.7 kB / 0.8248 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.3814, allocations: 20.81 kB / 0.8248 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.3818, allocations: 295.3 kB / 0.8251 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0003426/0.3822, allocations: 0.506 MB / 0.8256 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0001348/0.3823, allocations: 303.1 kB / 0.8259 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3824, allocations: 48.53 kB / 0.8259 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.849e-05/0.3825, allocations: 20.12 kB / 0.8259 GB, free: 43.47 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 (41) * Number of variables: 45 (40) Notification: Performance of Bindings: time 0.0008979/0.3834, allocations: 1.265 MB / 0.8272 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0001096/0.3835, allocations: 93.25 kB / 0.8273 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0006128/0.3841, allocations: 0.8313 MB / 0.8281 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of simplify1: time 6.831e-05/0.3842, allocations: 79.22 kB / 0.8282 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of Alias: time 0.0008368/0.385, allocations: 0.9265 MB / 0.8291 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of simplify2: time 6.635e-05/0.3851, allocations: 84.95 kB / 0.8291 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of Events: time 0.000134/0.3852, allocations: 116 kB / 0.8293 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0002135/0.3855, allocations: 225.3 kB / 0.8295 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0002099/0.3857, allocations: 236 kB / 0.8297 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of Causalize: time 0.001199/0.3869, allocations: 1.388 MB / 0.831 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.0004317/0.3873, allocations: 0.6128 MB / 0.8316 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of Inline: time 0.001132/0.3885, allocations: 1.42 MB / 0.833 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of Partitioning: time 4.865e-05/0.3885, allocations: 55.83 kB / 0.8331 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of Cleanup: time 5.782e-05/0.3886, allocations: 74.28 kB / 0.8332 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of Causalize: time 0.001542/0.3901, allocations: 1.962 MB / 0.8351 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0003095/0.3904, allocations: 412.7 kB / 0.8355 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of Initialization: time 1.032e-06/0.3905, allocations: 0 / 0.8355 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002361/0.3907, allocations: 408 kB / 0.8359 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of Categorize: time 1.166e-05/0.3907, allocations: 4.547 kB / 0.8359 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of Solve: time 0.0002767/0.391, allocations: 198 kB / 0.836 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of Jacobian: time 2.384e-06/0.391, allocations: 0 / 0.836 GB, free: 41.09 MB / 0.6544 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {PMVRef.nextTimeEvent, PMVRef.nextTimeEventScaled, inp.nextTimeEventScaled, inp.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 46 (scalar:44, array:0, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 3.093e-05/0.391, allocations: 38.56 kB / 0.8361 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003158/0.3942, allocations: 3.549 MB / 0.8396 GB, free: 39.56 MB / 0.6544 GB Error: Template error: A template call failed (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SerializeModelInfo.mo:116:9-116:84:writable] Error: Internal error SerializeModelInfo.serialize failed [CodegenCFunctions.tpl:5962:14-5962:14:writable] Error: Template error: daeExpLbinary:ERR.