Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.uCoo|dam.uHea|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_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|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.uCoo|dam.uHea|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_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.0009354/0.0009354, allocations: 107.9 kB / 16.42 MB, free: 6.52 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.0009214/0.0009215, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.156/1.156, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.924/1.924, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.41e-05, allocations: 9.031 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors): time 0.004945/0.004969, allocations: 4.675 MB / 0.9561 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003685/0.008668, allocations: 2.8 MB / 0.9588 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.009109, allocations: 35.88 kB / 0.9588 GB, free: 104 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.009533, allocations: 201.7 kB / 0.959 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.009904, allocations: 186.1 kB / 0.9592 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.0112, allocations: 0.8489 MB / 0.96 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.01292, allocations: 2.021 MB / 0.962 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.01417, allocations: 0.9505 MB / 0.9629 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.01482, allocations: 0.6773 MB / 0.9636 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.01539, allocations: 0.696 MB / 0.9643 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.01561, allocations: 204 kB / 0.9645 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.01585, allocations: 220 kB / 0.9647 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001243/0.0171, allocations: 2.271 MB / 0.9669 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0006511/0.01775, allocations: 1.381 MB / 0.9682 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.01797, allocations: 243.1 kB / 0.9685 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.000196/0.01818, allocations: 106.9 kB / 0.9686 GB, free: 6.027 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 (324) * Number of variables: 324 (324) Notification: Performance of Bindings: time 0.005065/0.02325, allocations: 6.591 MB / 0.975 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.0002499/0.0235, allocations: 321.8 kB / 0.9753 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.003993/0.0275, allocations: 4.87 MB / 0.9801 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of simplify1: time 0.000236/0.02775, allocations: 283.6 kB / 0.9803 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of Alias: time 0.008165/0.03592, allocations: 8.415 MB / 0.9886 GB, free: 468 kB / 0.7637 GB Notification: Performance of simplify2: time 0.0001698/0.0361, allocations: 175.7 kB / 0.9887 GB, free: 292 kB / 0.7637 GB Notification: Performance of Detect States: time 0.001063/0.03717, allocations: 1.282 MB / 0.99 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of Events: time 0.001321/0.0385, allocations: 1.124 MB / 0.9911 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.001025/0.03954, allocations: 1.094 MB / 0.9921 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Causalize: time 0.004226/0.04377, allocations: 4.184 MB / 0.9962 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of After Index Reduction Inline: time 0.002734/0.04651, allocations: 3.182 MB / 0.9993 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of Inline: time 0.005166/0.05169, allocations: 6.028 MB / 1.005 GB, free: 14.97 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0002905/0.05199, allocations: 297.2 kB / 1.006 GB, free: 14.65 MB / 0.795 GB Notification: Performance of Cleanup: time 0.0005244/0.05252, allocations: 0.6328 MB / 1.006 GB, free: 14 MB / 0.795 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: {}; [SCAL] (1) $TEV_34 = false ($RES_SIM_20) slice: {}; Notification: Performance of Causalize: time 0.0253/0.07783, allocations: 24.07 MB / 1.03 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of Tearing: time 3.72e-05/0.07789, allocations: 11.92 kB / 1.03 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of Initialization: time 7.92e-07/0.07789, allocations: 0 / 1.03 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of Tearing: time 1.247e-05/0.07791, allocations: 0 / 1.03 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of Categorize: time 3.157e-05/0.07795, allocations: 11.94 kB / 1.03 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of Solve: time 0.001795/0.07975, allocations: 1.48 MB / 1.031 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of Jacobian: time 0.001177/0.08093, allocations: 1.294 MB / 1.032 GB, free: 2.25 MB / 0.8106 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: ......... 9 * 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: .................... 14 (14) {dam1.or1.u2, dam.or1.u1, dam1.lat1.y, dam1.lat.y, dam1.samCoo.y, dam1.samCoo.firstTrigger, dam1.samHea.y, dam1.samHea.firstTrigger, dam.lat1.y, dam.lat.y, dam.samCoo.y, dam.samCoo.firstTrigger, dam.samHea.y, dam.samHea.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 109 (109) {dam.or2.u1, dam.or2.u2, dam.falEdg.not_u, dam.and2.u2, dam.and2.y, dam.and3.u1, dam.and3.y, dam.samHea.sampleTrigger, dam.samCoo.sampleTrigger, dam.lat.clr, dam.or1.y, dam.cooDamPos.u2, dam.heaDamPos.u2, dam.and1.y, dam.and4.y, 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_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $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_56, $TEV_55, $TEV_54, $TEV_53, $TEV_52, $TEV_51, $TEV_50, $TEV_49, $TEV_48, $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: ........... 165 (scalar:165, array:0, record:0) * Number of multi strong components: ............ 14 (algorithm:0, when:14, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 289 (scalar:289, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:10, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 289 (scalar:289, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:10, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001272/0.08107, allocations: 131.1 kB / 1.032 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of SimCode: time 0.004707/0.08578, allocations: 6.236 MB / 1.039 GB, free: 11.77 MB / 0.8262 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.