Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001116/0.001116, allocations: 106.5 kB / 16.42 MB, free: 6.465 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.001064/0.001064, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.136/1.136, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.216/1.216, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.41e-05, allocations: 5.938 kB / 0.7263 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002731/0.002753, allocations: 2.208 MB / 0.7285 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4149/0.4176, allocations: 150.5 MB / 0.8754 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.4178, allocations: 3.938 kB / 0.8754 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008649/0.4187, allocations: 0.7718 MB / 0.8762 GB, free: 4.199 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.0006309/0.4194, allocations: 494.6 kB / 0.8766 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.42, allocations: 371.3 kB / 0.877 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.4205, allocations: 0.5654 MB / 0.8776 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.4207, allocations: 92.19 kB / 0.8776 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008942/0.4216, allocations: 351.4 kB / 0.878 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.422, allocations: 355.9 kB / 0.8783 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.422, allocations: 20 kB / 0.8783 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.4225, allocations: 295.6 kB / 0.8786 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0003764/0.4228, allocations: 0.5069 MB / 0.8791 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.000167/0.423, allocations: 307.5 kB / 0.8794 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.4231, allocations: 47.8 kB / 0.8794 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.152e-05/0.4231, allocations: 11.94 kB / 0.8795 GB, free: 0.8477 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.001129/0.4243, allocations: 1.271 MB / 0.8807 GB, free: 15.46 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0001272/0.4244, allocations: 94.7 kB / 0.8808 GB, free: 15.38 MB / 0.67 GB Notification: Performance of Early Inline: time 0.0007507/0.4252, allocations: 0.8257 MB / 0.8816 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simplify1: time 8.3e-05/0.4252, allocations: 83.89 kB / 0.8817 GB, free: 14.45 MB / 0.67 GB Notification: Performance of Alias: time 0.0009795/0.4262, allocations: 0.922 MB / 0.8826 GB, free: 13.39 MB / 0.67 GB Notification: Performance of simplify2: time 8.059e-05/0.4263, allocations: 83.91 kB / 0.8827 GB, free: 13.31 MB / 0.67 GB Notification: Performance of Events: time 0.0001439/0.4265, allocations: 116.2 kB / 0.8828 GB, free: 13.2 MB / 0.67 GB Notification: Performance of Detect States: time 0.0002382/0.4267, allocations: 222 kB / 0.883 GB, free: 12.96 MB / 0.67 GB Notification: Performance of Partitioning: time 0.000235/0.427, allocations: 244.2 kB / 0.8832 GB, free: 12.7 MB / 0.67 GB Notification: Performance of Causalize: time 0.001368/0.4283, allocations: 1.406 MB / 0.8846 GB, free: 11.29 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.000522/0.4289, allocations: 0.6118 MB / 0.8852 GB, free: 10.65 MB / 0.67 GB Notification: Performance of Inline: time 0.001344/0.4302, allocations: 1.447 MB / 0.8866 GB, free: 9.184 MB / 0.67 GB Notification: Performance of Partitioning: time 5.106e-05/0.4303, allocations: 58.34 kB / 0.8867 GB, free: 9.117 MB / 0.67 GB Notification: Performance of Cleanup: time 6.228e-05/0.4304, allocations: 63.91 kB / 0.8867 GB, free: 9.055 MB / 0.67 GB Notification: Performance of Causalize: time 0.001726/0.4321, allocations: 1.93 MB / 0.8886 GB, free: 7.156 MB / 0.67 GB Notification: Performance of Tearing: time 0.0003734/0.4325, allocations: 402 kB / 0.889 GB, free: 6.715 MB / 0.67 GB Notification: Performance of Initialization: time 4.11e-07/0.4325, allocations: 0 / 0.889 GB, free: 6.715 MB / 0.67 GB Notification: Performance of Tearing: time 0.0002957/0.4328, allocations: 406 kB / 0.8894 GB, free: 6.27 MB / 0.67 GB Notification: Performance of Categorize: time 8.987e-06/0.4328, allocations: 4 kB / 0.8894 GB, free: 6.266 MB / 0.67 GB Notification: Performance of Solve: time 0.0002727/0.4331, allocations: 186 kB / 0.8896 GB, free: 6.082 MB / 0.67 GB Notification: Performance of Jacobian: time 5.43e-06/0.4331, allocations: 3.938 kB / 0.8896 GB, free: 6.078 MB / 0.67 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: ........... 44 (scalar:42, 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.505e-05/0.4331, allocations: 28.22 kB / 0.8896 GB, free: 6.062 MB / 0.67 GB Notification: Performance of SimCode: time 0.003322/0.4365, allocations: 3.541 MB / 0.893 GB, free: 2.625 MB / 0.67 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.