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.DampersSingleSensors.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.DampersSingleSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001408, allocations: 106.7 kB / 16.42 MB, free: 6.523 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.001119/0.001119, allocations: 188.3 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.08 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.385/2.385, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.613e-05, allocations: 2.281 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors): time 0.004037/0.004078, allocations: 2.844 MB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003794/0.007891, allocations: 2.083 MB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008031/0.008716, allocations: 19.94 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.009258, allocations: 118.6 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.009903, allocations: 126.8 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.01155, allocations: 0.5833 MB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.01297, allocations: 1.278 MB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.01375, allocations: 0.5444 MB / 1.027 GB, free: 1.793 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005189/0.01428, allocations: 446.5 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.01472, allocations: 453.9 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.01488, allocations: 128 kB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.01509, allocations: 136 kB / 1.028 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.000906/0.01601, allocations: 1.41 MB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0004238/0.01644, allocations: 0.8463 MB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.01662, allocations: 151.5 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0002718/0.0169, allocations: 59.38 kB / 1.03 GB, free: 14.16 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: 190 (190) * Number of variables: 190 (190) Notification: Performance of Bindings: time 0.0038/0.0207, allocations: 4.169 MB / 1.034 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0002267/0.02095, allocations: 195.7 kB / 1.034 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.002974/0.02393, allocations: 3.048 MB / 1.037 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of simplify1: time 0.0002046/0.02415, allocations: 163.7 kB / 1.037 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of Alias: time 0.005786/0.02994, allocations: 5.086 MB / 1.042 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simplify2: time 0.0001787/0.03014, allocations: 107.8 kB / 1.043 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of Detect States: time 0.001061/0.03121, allocations: 0.7644 MB / 1.043 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Events: time 0.001106/0.03233, allocations: 0.8009 MB / 1.044 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0006813/0.03302, allocations: 0.6326 MB / 1.045 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of Causalize: time 0.002733/0.03576, allocations: 2.417 MB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.001954/0.03773, allocations: 1.977 MB / 1.049 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of Inline: time 0.003881/0.04163, allocations: 3.785 MB / 1.053 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0002788/0.04193, allocations: 167.7 kB / 1.053 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of Cleanup: time 0.0008251/0.04277, allocations: 419.4 kB / 1.053 GB, free: 5.492 MB / 0.8262 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_5) slice: {}; Notification: Performance of Causalize: time 0.01864/0.06141, allocations: 14.54 MB / 1.067 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of Tearing: time 3.413e-05/0.06148, allocations: 0 / 1.067 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of Initialization: time 1.833e-06/0.06149, allocations: 0 / 1.067 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of Tearing: time 1.595e-05/0.06151, allocations: 3.938 kB / 1.067 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of Categorize: time 3.264e-05/0.06155, allocations: 4 kB / 1.067 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of Solve: time 0.001389/0.06295, allocations: 0.8223 MB / 1.068 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0008963/0.06385, allocations: 0.8356 MB / 1.069 GB, free: 4.914 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: ......... 5 * 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: ............................. 1 (1) {dam1.conCooDam.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: ................. 61 (61) {dam1.conCooDam.trigger, dam1.or2.u1, dam1.or2.u2, 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, dam1.cooDamPos.u2, dam1.heaDamPos.u2, dam1.and1.y, dam1.and4.y, $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_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: ........... 98 (scalar:98, 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: ........... 173 (scalar:173, 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: ........... 173 (scalar:173, 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.000126/0.06399, allocations: 101.2 kB / 1.069 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004009/0.068, allocations: 4.056 MB / 1.073 GB, free: 0.6953 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.