Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 111.6 kB / 16.42 MB, free: 6.531 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.00166/0.00166, allocations: 187.2 kB / 17.36 MB, free: 5.723 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.643e-05, allocations: 4.672 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors): time 0.00567/0.005709, allocations: 3.963 MB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005694/0.01142, allocations: 2.465 MB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.01289, allocations: 27.94 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.01378, allocations: 193.9 kB / 1.026 GB, free: 2.785 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.01501, allocations: 174.3 kB / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.0172, allocations: 0.7507 MB / 1.027 GB, free: 1.867 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.01988, allocations: 1.806 MB / 1.028 GB, free: 56 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.02168, allocations: 0.855 MB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.02277, allocations: 0.6033 MB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.02385, allocations: 0.6182 MB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004741/0.02433, allocations: 180 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000466/0.02481, allocations: 200 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001799/0.02661, allocations: 2.031 MB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.001002/0.02762, allocations: 1.25 MB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.02817, allocations: 223.2 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0003974/0.02858, allocations: 91.06 kB / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 (281) * Number of variables: 281 (281) Notification: Performance of Bindings: time 0.00631/0.0349, allocations: 6.134 MB / 1.04 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0006098/0.03553, allocations: 0.5418 MB / 1.041 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.004046/0.03958, allocations: 4.19 MB / 1.045 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0003792/0.03998, allocations: 239.6 kB / 1.045 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of Alias: time 0.009357/0.04935, allocations: 7.582 MB / 1.052 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simplify2: time 0.000236/0.04961, allocations: 135.8 kB / 1.053 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of Detect States: time 0.001114/0.05073, allocations: 1.032 MB / 1.054 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of Events: time 0.001221/0.05196, allocations: 0.9031 MB / 1.054 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.001069/0.05304, allocations: 0.8567 MB / 1.055 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of Causalize: time 0.004248/0.0573, allocations: 3.307 MB / 1.059 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.002657/0.05997, allocations: 2.448 MB / 1.061 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of Inline: time 0.005264/0.06525, allocations: 4.988 MB / 1.066 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003095/0.06557, allocations: 239.5 kB / 1.066 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0005462/0.06613, allocations: 0.5189 MB / 1.067 GB, free: 7.398 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_24 = false ($RES_SIM_7) slice: {}; Notification: Performance of Causalize: time 0.6378/0.7039, allocations: 19.79 MB / 1.086 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of Tearing: time 5.301e-05/0.704, allocations: 3.578 kB / 1.086 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of Initialization: time 1.072e-06/0.704, allocations: 0 / 1.086 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of Tearing: time 1.29e-05/0.704, allocations: 3.375 kB / 1.086 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of Categorize: time 3.255e-05/0.7041, allocations: 8.656 kB / 1.086 GB, free: 41.43 MB / 0.8419 GB Notification: Performance of Solve: time 0.001869/0.7059, allocations: 1.046 MB / 1.087 GB, free: 40.99 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.001188/0.7072, allocations: 1.07 MB / 1.088 GB, free: 40.66 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {dam1.conCooDam.addPID.u2, dam1.conHeaDam.addPID.u2} * Number of discrete states: .................... 8 (8) {heaAhu.y, cooAhu.y, dam1.lat1.y, dam1.lat.y, dam1.samCoo.y, dam1.samCoo.firstTrigger, dam1.samHea.y, dam1.samHea.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 65 (65) {dam1.and4.u1, dam1.and4.u2, dam1.and4.y, dam1.and1.u1, dam1.and1.u2, dam1.and1.y, dam1.falEdg.not_u, dam1.and2.u2, dam1.and2.y, dam1.and3.u1, dam1.and3.y, dam1.samHea.sampleTrigger, dam1.samCoo.sampleTrigger, dam1.lat.clr, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $TEV_47, $TEV_46, $TEV_45, $TEV_44, $TEV_43, $TEV_42, $TEV_41, $TEV_40, $TEV_39, $TEV_38, $TEV_37, $TEV_36, $TEV_35, $TEV_34, $TEV_33, $TEV_32, $TEV_31, $TEV_30, $TEV_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 128 (scalar:128, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 242 (scalar:242, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 242 (scalar:242, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001355/0.7073, allocations: 117.3 kB / 1.088 GB, free: 40.64 MB / 0.8419 GB Notification: Performance of SimCode: time 0.005869/0.7132, allocations: 5.511 MB / 1.093 GB, free: 38.86 MB / 0.8419 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.